Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.0009467/0.0009467, allocations: 79.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.0009857/0.0009857, allocations: 161 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 1.069/1.069, allocations: 177.1 MB / 205 MB, free: 5.609 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.2748/0.2748, allocations: 34.26 MB / 295.7 MB, free: 0.7656 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.807e-05/4.024e-05, allocations: 2.312 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00259/0.00263, allocations: 1.773 MB / 379.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.004444, allocations: 1.738 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.004512, allocations: 7.938 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.004743, allocations: 31.78 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.005047, allocations: 103.5 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.005233, allocations: 79.59 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.005373, allocations: 107.6 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.668e-05/0.005439, allocations: 8 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.005519, allocations: 67.75 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.005623, allocations: 31.89 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.005638, allocations: 4 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.005786, allocations: 107.8 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.005827, allocations: 19.92 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.005859, allocations: 19.92 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.006068, allocations: 163.4 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.006071, allocations: 4 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006072, allocations: 0 / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.006075, allocations: 0 / 382.4 MB, free: 14.3 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.0004006/0.006476, allocations: 447.8 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.00651, allocations: 8.031 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.006554, allocations: 16.89 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.006708, allocations: 156 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.006724, allocations: 8.375 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.006741, allocations: 4.312 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.006875, allocations: 111.4 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.006884, allocations: 3.953 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.006892, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.006898, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.406e-05/0.006932, allocations: 15.98 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.007185, allocations: 279.8 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.007276, allocations: 59.11 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.007302, allocations: 19.67 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.007313, allocations: 0 / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.492e-05/0.007398, allocations: 69.05 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.007399, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003423/0.007741, allocations: 157.5 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.007777, allocations: 81.11 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.007906, allocations: 220.8 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.007919, allocations: 29.64 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.007965, allocations: 150.9 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.007988, allocations: 27.78 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.00802, allocations: 27.38 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.00813, allocations: 0.4961 MB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.008153, allocations: 12 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.008198, allocations: 68.75 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.562e-05/0.008253, allocations: 51.42 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.008254, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001049/0.008359, allocations: 89.53 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.008369, allocations: 8.062 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.008373, allocations: 4 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.008386, allocations: 0 / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.00846, allocations: 23.86 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.008464, allocations: 0 / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.008495, allocations: 8 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.008502, allocations: 4 kB / 385 MB, free: 11.43 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 6.772e-05/0.00857, allocations: 164.5 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.008588, allocations: 15.92 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.008726, allocations: 102.4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008728, allocations: 4 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.008731, allocations: 0 / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008735, allocations: 3.984 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.009011, allocations: 392.9 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009013, allocations: 0 / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.00904, allocations: 8 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.009041, allocations: 0 / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.009051, allocations: 7.984 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.009053, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.009054, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.009204, allocations: 259.5 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.009218, allocations: 11.95 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.009235, allocations: 4 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.009277, allocations: 0 / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.009307, allocations: 19.86 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.009319, allocations: 4 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.925e-05/0.009398, allocations: 161.8 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009398, allocations: 0 / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.009601, allocations: 47.86 kB / 386.2 MB, free: 10.16 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.001082/0.01068, allocations: 0.5426 MB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.01081, allocations: 59.59 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01081, allocations: 0 / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.01085, allocations: 35.61 kB / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.01107, allocations: 42.48 kB / 386.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.01139, allocations: 198.2 kB / 387 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.01143, allocations: 67.33 kB / 387.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.718e-05/0.01147, allocations: 21.09 kB / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.01151, allocations: 20.48 kB / 387.1 MB, free: 9.324 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01151, allocations: 0 / 387.1 MB, free: 9.324 MB / 362.7 MB Notification: Performance of Templates: time 0.003963/0.01548, allocations: 2.529 MB / 389.7 MB, free: 6.824 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.3640705421566963]