Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001083/0.001083, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001069/0.001069, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9055/0.9055, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1225/0.1225, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.414e-05, allocations: 9.344 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001937/0.001951, allocations: 1.722 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.002775, allocations: 0.7881 MB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.002833, allocations: 0 / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.003088, allocations: 87.69 kB / 350.8 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.003264, allocations: 75.59 kB / 350.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.003429, allocations: 91.64 kB / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.003548, allocations: 111.7 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.708e-05/0.003616, allocations: 4.219 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.003693, allocations: 63.83 kB / 351.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.701e-05/0.00377, allocations: 59.86 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.003785, allocations: 4 kB / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.003852, allocations: 43.92 kB / 351.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.00389, allocations: 27.84 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.00392, allocations: 15.94 kB / 351.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.004052, allocations: 103.6 kB / 351.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.004054, allocations: 0 / 351.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004055, allocations: 0 / 351.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.004061, allocations: 0 / 351.4 MB, free: 5.887 MB / 282.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.0003033/0.004364, allocations: 459.7 kB / 351.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.004397, allocations: 12.03 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.004428, allocations: 12.89 kB / 351.9 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.00453, allocations: 152.4 kB / 352 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.004541, allocations: 384 / 352 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.004556, allocations: 4.375 kB / 352 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.03e-05/0.004636, allocations: 62.88 kB / 352.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004644, allocations: 3.938 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.00465, allocations: 3.984 kB / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.004655, allocations: 4 kB / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.004678, allocations: 4 kB / 352.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.004855, allocations: 264.4 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.004928, allocations: 63.08 kB / 352.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.004946, allocations: 11.69 kB / 352.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.004959, allocations: 4 kB / 352.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.968e-05/0.005029, allocations: 64.98 kB / 352.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005029, allocations: 4 kB / 352.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002625/0.005292, allocations: 137.5 kB / 352.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.384e-05/0.005306, allocations: 51.41 kB / 352.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.005395, allocations: 238.5 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.005403, allocations: 29.7 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.005437, allocations: 154.8 kB / 353.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.00546, allocations: 31.83 kB / 353.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.00549, allocations: 31.36 kB / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.00553, allocations: 0.4923 MB / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.005546, allocations: 11.98 kB / 353.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.005571, allocations: 35.28 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.005612, allocations: 43.38 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.005612, allocations: 3.938 kB / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.836e-05/0.005701, allocations: 97.52 kB / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.005711, allocations: 8 kB / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.005715, allocations: 80 / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.005724, allocations: 0 / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.00578, allocations: 12 kB / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.005784, allocations: 7.984 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.005814, allocations: 7.984 kB / 353.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.005819, allocations: 4 kB / 353.9 MB, free: 3.184 MB / 282.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 4.19e-05/0.005861, allocations: 160.5 kB / 354 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.005877, allocations: 19.92 kB / 354.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.005995, allocations: 99.06 kB / 354.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.005997, allocations: 4 kB / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005999, allocations: 0 / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006001, allocations: 0 / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.006207, allocations: 369.5 kB / 354.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006208, allocations: 0 / 354.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.006235, allocations: 11.98 kB / 354.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006237, allocations: 384 / 354.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.006244, allocations: 8 kB / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.006246, allocations: 8.031 kB / 354.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.006247, allocations: 0 / 354.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.906e-05/0.006346, allocations: 251.4 kB / 354.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.006357, allocations: 11.91 kB / 354.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.006372, allocations: 0 / 354.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/0.006428, allocations: 7.984 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.006448, allocations: 4 kB / 354.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.006459, allocations: 7.984 kB / 354.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.749e-05/0.006507, allocations: 167.1 kB / 355 MB, free: 1.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006507, allocations: 0 / 355 MB, free: 1.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.006728, allocations: 28 kB / 355 MB, free: 1.969 MB / 282.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.0009031/0.007631, allocations: 442.5 kB / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.728e-05/0.007719, allocations: 47.59 kB / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00772, allocations: 0 / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.007752, allocations: 31.77 kB / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.008024, allocations: 43.95 kB / 355.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.00829, allocations: 225.2 kB / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.008321, allocations: 75.27 kB / 355.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.273e-05/0.008354, allocations: 8.5 kB / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.008411, allocations: 86.19 kB / 355.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008411, allocations: 0 / 355.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of Templates: time 0.003631/0.01204, allocations: 2.02 MB / 358 MB, free: 15.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.005824918858707]