Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001545/0.001545, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001858/0.001858, allocations: 168.8 kB / 25.61 MB, free: 8.891 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 0.9708/0.9708, allocations: 177.1 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] 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.1416/0.1416, allocations: 32.81 MB / 295.4 MB, free: 15.39 MB / 282.7 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.204e-05, allocations: 2.312 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00229/0.002312, allocations: 1.832 MB / 379.2 MB, free: 23.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003486, allocations: 1.068 MB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.94e-05/0.003576, allocations: 4 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.003964, allocations: 307.1 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.004337, allocations: 262.9 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.00455, allocations: 107.6 kB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.004782, allocations: 275.2 kB / 381.2 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.004831, allocations: 9.812 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.004963, allocations: 147.6 kB / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.005113, allocations: 211.6 kB / 381.5 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.005131, allocations: 4 kB / 381.5 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.808e-05/0.005219, allocations: 47.92 kB / 381.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.005307, allocations: 151.5 kB / 381.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.005363, allocations: 71.66 kB / 381.8 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.005596, allocations: 282.9 kB / 382.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.0056, allocations: 0 / 382.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005601, allocations: 0 / 382.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005605, allocations: 0 / 382.1 MB, free: 20.79 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00064/0.006245, allocations: 0.7901 MB / 382.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.006289, allocations: 15.98 kB / 382.9 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.006356, allocations: 64.5 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.006655, allocations: 316.6 kB / 383.3 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.006679, allocations: 4.375 kB / 383.3 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.00669, allocations: 4.375 kB / 383.3 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.006853, allocations: 94.27 kB / 383.4 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.006866, allocations: 3.938 kB / 383.4 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.006878, allocations: 4 kB / 383.4 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.006884, allocations: 0 / 383.4 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.006921, allocations: 19.92 kB / 383.4 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.007142, allocations: 216.9 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.007257, allocations: 102.1 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.007289, allocations: 27.36 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.0073, allocations: 4 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.007406, allocations: 104.3 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.007407, allocations: 0 / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002259/0.007633, allocations: 181.1 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.007658, allocations: 81.11 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.007995, allocations: 0.6937 MB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.008008, allocations: 29.7 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.008115, allocations: 314.7 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.00815, allocations: 23.84 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.008184, allocations: 31.36 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.008266, allocations: 0.5703 MB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.008287, allocations: 8 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.008319, allocations: 58.7 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.008372, allocations: 66.69 kB / 385.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.008375, allocations: 4 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001256/0.0085, allocations: 145.2 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.008513, allocations: 4 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.00852, allocations: 7.938 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.008532, allocations: 3.938 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.008616, allocations: 20.61 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00862, allocations: 4 kB / 386.1 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.008677, allocations: 19.95 kB / 386.1 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.008683, allocations: 4 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.358e-05/0.008766, allocations: 169.1 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.008802, allocations: 55.67 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.008977, allocations: 154 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.008981, allocations: 3.938 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.008983, allocations: 3.938 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.00899, allocations: 7.984 kB / 386.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.009155, allocations: 229 kB / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.009158, allocations: 8 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.009193, allocations: 11.98 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.009196, allocations: 0 / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.009204, allocations: 8 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.009207, allocations: 3.938 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.009209, allocations: 0 / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.009366, allocations: 206.6 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.009413, allocations: 59.55 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.009443, allocations: 4 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.009492, allocations: 7.984 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.009524, allocations: 15.92 kB / 387 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.009545, allocations: 4 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002052/0.00975, allocations: 450.6 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00975, allocations: 0 / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.009937, allocations: 40 kB / 387.5 MB, free: 15.03 MB / 314.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008743/0.01081, allocations: 404.8 kB / 387.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.01092, allocations: 59.58 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01092, allocations: 0 / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.01096, allocations: 39.98 kB / 388 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.01122, allocations: 81.16 kB / 388.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.01179, allocations: 0.6616 MB / 388.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.957e-05/0.01185, allocations: 136.1 kB / 388.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.565e-05/0.01191, allocations: 42.94 kB / 388.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/0.01201, allocations: 122.1 kB / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.01201, allocations: 0 / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of Templates: time 0.006265/0.01827, allocations: 4.414 MB / 393.4 MB, free: 9.219 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.3926237048581243]