Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001473/0.001473, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001903/0.001903, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9601/0.9601, allocations: 177.1 MB / 205 MB, free: 5.613 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.2671/0.2671, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 3.984 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/2.014e-05, allocations: 2.312 kB / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003154/0.003174, allocations: 1.774 MB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.004788, allocations: 1.009 MB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.841e-05/0.004856, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.005142, allocations: 51.7 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.00547, allocations: 103.5 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.005692, allocations: 83.59 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.005874, allocations: 107.6 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.005942, allocations: 7.984 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.006038, allocations: 51.84 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.006116, allocations: 35.89 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.006134, allocations: 4 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.00623, allocations: 43.92 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.006284, allocations: 31.86 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.006328, allocations: 23.86 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.006524, allocations: 107.6 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006526, allocations: 3.938 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.006527, allocations: 4 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.006531, allocations: 0 / 381.6 MB, free: 15.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005022/0.007033, allocations: 475.6 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.00707, allocations: 12.03 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.007122, allocations: 16.84 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.007321, allocations: 169.2 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.007341, allocations: 8.375 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.007356, allocations: 384 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.007484, allocations: 62.94 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.007495, allocations: 3.938 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.007504, allocations: 3.938 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.007511, allocations: 0 / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.007553, allocations: 11.98 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.007882, allocations: 299.8 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.008, allocations: 51.17 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.008041, allocations: 23.55 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.008053, allocations: 4 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.008161, allocations: 69.05 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.008162, allocations: 0 / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004225/0.008585, allocations: 165.3 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.008619, allocations: 55.41 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.008839, allocations: 277.6 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.008856, allocations: 33.7 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.008939, allocations: 162.9 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.008979, allocations: 27.78 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.009022, allocations: 31.36 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.009174, allocations: 0.504 MB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.009204, allocations: 8 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.976e-05/0.009254, allocations: 39.3 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.489e-05/0.009328, allocations: 51.3 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.009329, allocations: 0 / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001496/0.009479, allocations: 97.59 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.009492, allocations: 11.94 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.009496, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.009509, allocations: 3.984 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.009589, allocations: 15.98 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.009594, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.009637, allocations: 8 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.009646, allocations: 4 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.631e-05/0.009732, allocations: 171.7 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.009759, allocations: 23.92 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.009948, allocations: 103.1 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.009951, allocations: 3.984 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.009954, allocations: 3.938 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.009957, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.01033, allocations: 401 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01033, allocations: 7.922 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.01037, allocations: 8 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01037, allocations: 4 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.01038, allocations: 0 / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01038, allocations: 4.031 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01038, allocations: 0 / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.01058, allocations: 267.4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.0106, allocations: 11.91 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01062, allocations: 3.984 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.0107, allocations: 4.375 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.01073, allocations: 11.98 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.01074, allocations: 4 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.01089, allocations: 196.5 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01089, allocations: 0 / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.01119, allocations: 23.94 kB / 385.4 MB, free: 10.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001328/0.01252, allocations: 445.5 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.01266, allocations: 59.58 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01266, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.01271, allocations: 35.61 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.01308, allocations: 38.41 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.0135, allocations: 262.6 kB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.01356, allocations: 71.33 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.0136, allocations: 8.984 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.01364, allocations: 20.48 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01364, allocations: 0 / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003669/0.01731, allocations: 2.033 MB / 388.4 MB, free: 8.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.18042347766459]