Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001566/0.001566, allocations: 81.72 kB / 20.68 MB, free: 1.035 MB / 14.72 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.003051/0.003051, allocations: 163.7 kB / 23.95 MB, free: 4.168 MB / 14.72 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.41/1.41, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1988/0.1988, allocations: 32.81 MB / 293.5 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 440.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.39e-05, allocations: 6.219 kB / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003006/0.00303, allocations: 1.719 MB / 441.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.004811, allocations: 0.9664 MB / 442.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.004876, allocations: 0 / 442.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.005151, allocations: 47.81 kB / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.005476, allocations: 107.4 kB / 443 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.005678, allocations: 75.61 kB / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.005871, allocations: 111.6 kB / 443.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.00595, allocations: 4 kB / 443.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.006065, allocations: 59.83 kB / 443.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.508e-05/0.00615, allocations: 27.91 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.006169, allocations: 4 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-05/0.006264, allocations: 43.92 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.006328, allocations: 31.84 kB / 443.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.006382, allocations: 15.94 kB / 443.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.006619, allocations: 131.5 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.006623, allocations: 0 / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006624, allocations: 0 / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.006628, allocations: 0 / 443.5 MB, free: 4.734 MB / 366.1 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.0005937/0.007222, allocations: 365.5 kB / 443.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.007261, allocations: 8.031 kB / 443.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.007313, allocations: 16.84 kB / 443.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.007552, allocations: 162.3 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.00757, allocations: 8.359 kB / 444.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.007587, allocations: 384 / 444.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.007744, allocations: 62.17 kB / 444.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.007758, allocations: 3.938 kB / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.007768, allocations: 0 / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.007772, allocations: 0 / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.007854, allocations: 19.98 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.008226, allocations: 244.5 kB / 444.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.008417, allocations: 58.61 kB / 444.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.008481, allocations: 32.72 kB / 444.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.008495, allocations: 0 / 444.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.008661, allocations: 67.39 kB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.008662, allocations: 0 / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006407/0.009303, allocations: 185.3 kB / 444.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.009356, allocations: 55.41 kB / 444.8 MB, free: 3.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.009623, allocations: 243.6 kB / 445 MB, free: 3.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.009645, allocations: 33.64 kB / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.009724, allocations: 108.1 kB / 445.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.009767, allocations: 23.8 kB / 445.2 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.009813, allocations: 25.7 kB / 445.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.009978, allocations: 326.8 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.01004, allocations: 20 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.01012, allocations: 45.62 kB / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.01025, allocations: 53.66 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.01025, allocations: 4 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002131/0.01046, allocations: 113.5 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01048, allocations: 8 kB / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.01048, allocations: 0 / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.0105, allocations: 0 / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.0106, allocations: 19.98 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01061, allocations: 0 / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.01066, allocations: 4.375 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01067, allocations: 4 kB / 445.8 MB, free: 2.273 MB / 366.1 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 0.0001291/0.0108, allocations: 138.4 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.01083, allocations: 19.91 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.01112, allocations: 123.1 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01112, allocations: 4 kB / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01112, allocations: 0 / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01113, allocations: 3.984 kB / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.0116, allocations: 355.2 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.0116, allocations: 0 / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.01164, allocations: 8 kB / 446.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01165, allocations: 11.97 kB / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01166, allocations: 4 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01166, allocations: 0 / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.01166, allocations: 4 kB / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.01195, allocations: 220.2 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.01197, allocations: 11.91 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.01199, allocations: 0 / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.01207, allocations: 8 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.0121, allocations: 3.984 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01212, allocations: 4 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.01229, allocations: 191.1 kB / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01229, allocations: 0 / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.01256, allocations: 27.94 kB / 446.9 MB, free: 1.086 MB / 366.1 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.001864/0.01443, allocations: 500 kB / 447.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.01463, allocations: 59.98 kB / 447.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01463, allocations: 0 / 447.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.01472, allocations: 31.92 kB / 447.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.01507, allocations: 34.95 kB / 447.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.01563, allocations: 254.7 kB / 447.8 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.01575, allocations: 112.7 kB / 447.9 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.01581, allocations: 20.97 kB / 447.9 MB, free: 256 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.01585, allocations: 20.44 kB / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.01585, allocations: 0 / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of Templates: time 0.1646/0.1805, allocations: 1.845 MB / 449.7 MB, free: 21.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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: 4.51262129843235]