Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001745/0.001745, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001591/0.001591, allocations: 161.7 kB / 24.27 MB, free: 172 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.512/1.512, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.4124/0.4124, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.302e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001164/0.0001228, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.006228/0.006351, allocations: 1.719 MB / 379.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.00943, allocations: 1.68 MB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.009563, allocations: 0 / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.009912, allocations: 47.64 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000555/0.01047, allocations: 103.5 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.0108, allocations: 83.59 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.01107, allocations: 115.6 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.01117, allocations: 4 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.01133, allocations: 59.77 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.0115, allocations: 39.89 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.01153, allocations: 4 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.01188, allocations: 95.88 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/0.01196, allocations: 23.91 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.01201, allocations: 19.94 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.01248, allocations: 187.3 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01249, allocations: 0 / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01249, allocations: 0 / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.01249, allocations: 0 / 381.5 MB, free: 14.7 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.0006988/0.01319, allocations: 349.5 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.01324, allocations: 12.03 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.01332, allocations: 8.891 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.01365, allocations: 154.1 kB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.01367, allocations: 4.312 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.0137, allocations: 4.375 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.01393, allocations: 105 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01394, allocations: 0 / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.01396, allocations: 0 / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.01396, allocations: 4 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.01405, allocations: 15.98 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.01452, allocations: 236.5 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.01472, allocations: 58.61 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.01482, allocations: 24.84 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.01484, allocations: 4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.01506, allocations: 67.39 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.01506, allocations: 0 / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008907/0.01595, allocations: 185.3 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.262e-05/0.01604, allocations: 85.09 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.01635, allocations: 163.5 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.01639, allocations: 33.7 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.01648, allocations: 92.14 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.01654, allocations: 27.78 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.0166, allocations: 25.72 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.01684, allocations: 326.8 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.01694, allocations: 23.98 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.01709, allocations: 68.27 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.01726, allocations: 69.69 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.01726, allocations: 0 / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003336/0.01759, allocations: 105.6 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.01762, allocations: 10.19 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01762, allocations: 0 / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.01765, allocations: 4.062 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.01779, allocations: 19.94 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.0178, allocations: 7.938 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.01789, allocations: 3.984 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.0179, allocations: 4 kB / 383.8 MB, free: 12.23 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 0.0001921/0.01809, allocations: 125.8 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.01814, allocations: 7.953 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.01854, allocations: 118.4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.01855, allocations: 4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.01856, allocations: 7.984 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.01856, allocations: 0 / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007451/0.01931, allocations: 346.9 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01931, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.01936, allocations: 8 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01936, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01937, allocations: 4 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01938, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01938, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.0198, allocations: 228.1 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.01983, allocations: 11.98 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.01987, allocations: 4 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.02001, allocations: 4 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.02007, allocations: 16.23 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.0201, allocations: 4 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.02031, allocations: 138.1 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02031, allocations: 0 / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005588/0.02087, allocations: 51.86 kB / 384.8 MB, free: 11.1 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.003619/0.02449, allocations: 0.5928 MB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.02479, allocations: 59.86 kB / 385.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02479, allocations: 0 / 385.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.02493, allocations: 31.92 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.02551, allocations: 27.97 kB / 385.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007541/0.02626, allocations: 221.4 kB / 385.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.02642, allocations: 85.44 kB / 385.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.02652, allocations: 17.27 kB / 385.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.611e-05/0.02661, allocations: 24.5 kB / 385.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02661, allocations: 0 / 385.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of Templates: time 0.01328/0.03988, allocations: 2.523 MB / 388.4 MB, free: 7.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.047388841980137]