Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 166.2 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2607/0.2607, allocations: 34.25 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.331e-05, allocations: 5.969 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002304/0.002327, allocations: 1.689 MB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007816/0.003108, allocations: 0.5647 MB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.003176, allocations: 3.938 kB / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.003644, allocations: 451.1 kB / 380.7 MB, free: 236 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.004038, allocations: 303.1 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.004352, allocations: 167.5 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.00456, allocations: 175.6 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.004677, allocations: 19.98 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.004804, allocations: 119.8 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.005021, allocations: 243.6 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.005039, allocations: 4 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.005118, allocations: 35.86 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.005211, allocations: 83.72 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.00526, allocations: 39.73 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.005514, allocations: 203.2 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005516, allocations: 0 / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005517, allocations: 0 / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005522, allocations: 0 / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005769/0.006099, allocations: 0.7009 MB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.006137, allocations: 12.03 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.006194, allocations: 44.66 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.006422, allocations: 244.9 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.006434, allocations: 384 / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.006461, allocations: 4.375 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.00663, allocations: 58.94 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.006644, allocations: 4.188 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.006655, allocations: 4.125 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.006664, allocations: 4 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.006706, allocations: 15.92 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.007226, allocations: 431.6 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.007427, allocations: 42.98 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.007459, allocations: 15.67 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.007484, allocations: 0 / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.007521, allocations: 45.33 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.007522, allocations: 4 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004603/0.007982, allocations: 192.7 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.008018, allocations: 51.41 kB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.008447, allocations: 0.6316 MB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.00846, allocations: 25.7 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.008645, allocations: 282.8 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.008676, allocations: 23.8 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.008711, allocations: 23.38 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.008899, allocations: 0.5508 MB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.008918, allocations: 4 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/0.008934, allocations: 8 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.008984, allocations: 35.61 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.008984, allocations: 0 / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.009087, allocations: 89.36 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.009103, allocations: 8 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.009107, allocations: 0 / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.009123, allocations: 3.984 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.973e-05/0.009173, allocations: 8 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.009179, allocations: 0 / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.009205, allocations: 4 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.009209, allocations: 0 / 385.6 MB, free: 11.11 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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.71e-05/0.009296, allocations: 172.5 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.009333, allocations: 43.72 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.009496, allocations: 101.2 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.009499, allocations: 0 / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.009503, allocations: 0 / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.009508, allocations: 0 / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.009908, allocations: 473.7 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009911, allocations: 0 / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.009962, allocations: 11.98 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.009964, allocations: 4 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.009976, allocations: 15.88 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009978, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.00998, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.01016, allocations: 239.6 kB / 386.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.01019, allocations: 39.67 kB / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.0102, allocations: 0 / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.01024, allocations: 7.984 kB / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.01027, allocations: 0 / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.01027, allocations: 4 kB / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.01054, allocations: 430.8 kB / 387.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01054, allocations: 4 kB / 387.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.01071, allocations: 20 kB / 387.2 MB, free: 9.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000878/0.01159, allocations: 397.8 kB / 387.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.898e-05/0.01167, allocations: 27.61 kB / 387.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01168, allocations: 0 / 387.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.0117, allocations: 23.67 kB / 387.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.01194, allocations: 29.95 kB / 387.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.01256, allocations: 0.5809 MB / 388.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.946e-05/0.01263, allocations: 119.2 kB / 388.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.01266, allocations: 15.97 kB / 388.4 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.01269, allocations: 16.5 kB / 388.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01269, allocations: 0 / 388.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of Templates: time 0.003708/0.0164, allocations: 1.386 MB / 389.8 MB, free: 7.008 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.251531498041004]