Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.0009376/0.0009376, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009734/0.0009734, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.956/0.956, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2465/0.2465, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.544e-05, allocations: 4.844 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002674/0.002699, allocations: 1.848 MB / 327.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.004152, allocations: 1.092 MB / 328.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.004231, allocations: 0 / 328.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005057/0.004737, allocations: 307.1 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.00515, allocations: 255 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.005345, allocations: 111.6 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.005589, allocations: 271.7 kB / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.005639, allocations: 14.45 kB / 329.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.005789, allocations: 147.6 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.005952, allocations: 175.7 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.005974, allocations: 12 kB / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.006058, allocations: 51.91 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.006165, allocations: 144 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.006233, allocations: 79.64 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.006499, allocations: 275 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.006503, allocations: 7.938 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006504, allocations: 0 / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.006511, allocations: 0 / 330.1 MB, free: 2.852 MB / 298.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.0006509/0.007162, allocations: 0.6316 MB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.007197, allocations: 8.031 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.007246, allocations: 40.89 kB / 330.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.007541, allocations: 301.9 kB / 331 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.00756, allocations: 4.375 kB / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.007575, allocations: 12.3 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.00772, allocations: 87.41 kB / 331.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.00773, allocations: 3.938 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.007739, allocations: 3.984 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.007745, allocations: 0 / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.00778, allocations: 21.64 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.007919, allocations: 118.3 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.008045, allocations: 90.78 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.008091, allocations: 21.7 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.008107, allocations: 8 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.008234, allocations: 91.83 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.008236, allocations: 0 / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001718/0.008408, allocations: 111.2 kB / 331.6 MB, free: 1.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.008461, allocations: 93.03 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.008862, allocations: 0.6024 MB / 332.3 MB, free: 452 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.008878, allocations: 25.7 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.00894, allocations: 149.3 kB / 332.5 MB, free: 264 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.008978, allocations: 35.73 kB / 332.5 MB, free: 228 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.009014, allocations: 25.7 kB / 332.5 MB, free: 196 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.009129, allocations: 366.7 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.009154, allocations: 14.81 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.009188, allocations: 39.42 kB / 332.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.006e-05/0.009278, allocations: 76.31 kB / 333 MB, free: 15.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.009281, allocations: 0 / 333 MB, free: 15.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001178/0.009398, allocations: 111.2 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.009412, allocations: 8 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009417, allocations: 0 / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.009431, allocations: 0 / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.009506, allocations: 27.92 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.009509, allocations: 0 / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.009564, allocations: 12.06 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.009571, allocations: 4 kB / 333.2 MB, free: 15.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 9.196e-05/0.009663, allocations: 121.2 kB / 333.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.009695, allocations: 31.95 kB / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.009844, allocations: 121.9 kB / 333.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.009848, allocations: 4 kB / 333.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.00985, allocations: 7.875 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009854, allocations: 0 / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01, allocations: 165.6 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01001, allocations: 0 / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.01003, allocations: 19.98 kB / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01004, allocations: 0 / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.01004, allocations: 0 / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01005, allocations: 4.25 kB / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01005, allocations: 4 kB / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.01022, allocations: 143.4 kB / 333.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.01029, allocations: 51.66 kB / 333.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.01034, allocations: 8 kB / 333.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.01041, allocations: 4 kB / 333.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.01045, allocations: 7.984 kB / 333.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.01047, allocations: 15.92 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000294/0.01076, allocations: 319.2 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01076, allocations: 0 / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.01092, allocations: 47.92 kB / 334.2 MB, free: 14.39 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.001269/0.01219, allocations: 0.5101 MB / 334.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.01233, allocations: 52.78 kB / 334.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.01233, allocations: 4 kB / 334.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.297e-05/0.01238, allocations: 32.97 kB / 334.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01261, allocations: 82.84 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.01341, allocations: 0.6653 MB / 335.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.0135, allocations: 132.2 kB / 335.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.294e-05/0.01358, allocations: 42.94 kB / 335.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.01369, allocations: 91.36 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01369, allocations: 0 / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of Templates: time 0.006767/0.02045, allocations: 4.312 MB / 340.1 MB, free: 8.754 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.0019602738320827]