Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 230.2 MB / 257.8 MB, free: 8.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.244/0.244, allocations: 46.89 MB / 361.1 MB, free: 4.602 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 83.88 kB / 0.4968 GB, free: 8.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3779, allocations: 65.96 MB / 0.5612 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002909/0.3808, allocations: 1.696 MB / 0.5629 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.3818, allocations: 0.5974 MB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3818, allocations: 3.719 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.3821, allocations: 58.77 kB / 0.5635 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3824, allocations: 99.62 kB / 0.5636 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.3828, allocations: 180.9 kB / 0.5638 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.383, allocations: 91.67 kB / 0.5639 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3831, allocations: 19.55 kB / 0.5639 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.3832, allocations: 38.67 kB / 0.5639 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3833, allocations: 55.8 kB / 0.564 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.3833, allocations: 7.188 kB / 0.564 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.3834, allocations: 51.75 kB / 0.564 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.3835, allocations: 26.92 kB / 0.5641 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.3835, allocations: 33.61 kB / 0.5641 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.3837, allocations: 113.8 kB / 0.5642 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3837, allocations: 0.5938 kB / 0.5642 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3837, allocations: 3.375 kB / 0.5642 GB, free: 32.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3837, allocations: 1.875 kB / 0.5642 GB, free: 32.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005195/0.3843, allocations: 422.8 kB / 0.5646 GB, free: 32.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3843, allocations: 9.312 kB / 0.5646 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.3843, allocations: 13.75 kB / 0.5646 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3845, allocations: 202.7 kB / 0.5648 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.3845, allocations: 3.344 kB / 0.5648 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.3845, allocations: 7.625 kB / 0.5648 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3847, allocations: 66.33 kB / 0.5649 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3847, allocations: 1.875 kB / 0.5649 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3847, allocations: 3.938 kB / 0.5649 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3847, allocations: 6.828 kB / 0.5649 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3849, allocations: 47.89 kB / 0.565 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.3853, allocations: 327 kB / 0.5653 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.3855, allocations: 66 kB / 0.5653 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.3856, allocations: 23.06 kB / 0.5654 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3856, allocations: 7.266 kB / 0.5654 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.3856, allocations: 31.56 kB / 0.5654 GB, free: 31.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3856, allocations: 0 / 0.5654 GB, free: 31.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001462/0.3871, allocations: 424.5 kB / 0.5658 GB, free: 31.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.3871, allocations: 54.47 kB / 0.5658 GB, free: 31.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3873, allocations: 196 kB / 0.566 GB, free: 31.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.3873, allocations: 25.7 kB / 0.5661 GB, free: 31.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.3874, allocations: 104.9 kB / 0.5662 GB, free: 31.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.3874, allocations: 38.17 kB / 0.5662 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.3874, allocations: 26.75 kB / 0.5662 GB, free: 31.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.3875, allocations: 321.9 kB / 0.5665 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3876, allocations: 61.14 kB / 0.5666 GB, free: 30.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.3878, allocations: 57.2 kB / 0.5666 GB, free: 30.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.388, allocations: 127.9 kB / 0.5668 GB, free: 30.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.388, allocations: 3.938 kB / 0.5668 GB, free: 30.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003199/0.3883, allocations: 165.7 kB / 0.5669 GB, free: 30.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3884, allocations: 6.031 kB / 0.5669 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3884, allocations: 0 / 0.5669 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3884, allocations: 0.7031 kB / 0.5669 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3885, allocations: 31.25 kB / 0.567 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3885, allocations: 0 / 0.567 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.3886, allocations: 16.16 kB / 0.567 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3886, allocations: 7.656 kB / 0.567 GB, free: 30.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.388e-05/0.3887, allocations: 128.4 kB / 0.5671 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.3887, allocations: 15.5 kB / 0.5671 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.3891, allocations: 194.4 kB / 0.5673 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3891, allocations: 3 kB / 0.5673 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3891, allocations: 0 / 0.5673 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3891, allocations: 3.938 kB / 0.5673 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005689/0.3897, allocations: 0.4943 MB / 0.5678 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3897, allocations: 3 kB / 0.5678 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3898, allocations: 35.61 kB / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.3898, allocations: 0 / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3898, allocations: 3 kB / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3898, allocations: 0 / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3898, allocations: 0 / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.3901, allocations: 279.5 kB / 0.5681 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.3901, allocations: 91.97 kB / 0.5682 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3902, allocations: 0 / 0.5682 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.3903, allocations: 9.344 kB / 0.5682 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3903, allocations: 13.55 kB / 0.5682 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.3903, allocations: 7 kB / 0.5682 GB, free: 29.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.458e-05/0.3904, allocations: 152.1 kB / 0.5684 GB, free: 29.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3904, allocations: 0 / 0.5684 GB, free: 29.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3906, allocations: 25.91 kB / 0.5684 GB, free: 29.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001563/0.3922, allocations: 462.1 kB / 0.5688 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.3925, allocations: 125.8 kB / 0.5689 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3925, allocations: 0 / 0.5689 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.3927, allocations: 63.39 kB / 0.569 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.3931, allocations: 28.83 kB / 0.569 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.3937, allocations: 321.2 kB / 0.5693 GB, free: 29.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.3938, allocations: 0.7171 MB / 0.57 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.487e-05/0.3939, allocations: 32.94 kB / 0.5701 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.394, allocations: 18.69 kB / 0.5701 GB, free: 28.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.394, allocations: 0 / 0.5701 GB, free: 28.32 MB / 446.1 MB Notification: Performance of Templates: time 0.005148/0.3991, allocations: 1.67 MB / 0.5717 GB, free: 28.12 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2758922800421715]