Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.0009682/0.0009682, 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.001218/0.001218, allocations: 168.7 kB / 24.91 MB, free: 9.188 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.9319/0.9319, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2252/0.2252, allocations: 32.8 MB / 294.6 MB, free: 1.16 MB / 266.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 323.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.611e-05, allocations: 4.422 kB / 323.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002023/0.002039, allocations: 1.755 MB / 325.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.003226, allocations: 1.013 MB / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.003278, allocations: 0 / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.003481, allocations: 43.72 kB / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.0037, allocations: 103.5 kB / 326.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.003854, allocations: 75.67 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.00398, allocations: 115.6 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.004036, allocations: 4.75 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.004112, allocations: 59.77 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.004169, allocations: 31.91 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.004181, allocations: 4 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.004248, allocations: 43.92 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.004288, allocations: 23.86 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.004325, allocations: 23.91 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.004467, allocations: 107.6 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004468, allocations: 0 / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004469, allocations: 0 / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.004472, allocations: 0 / 326.7 MB, free: 6.184 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003075/0.004779, allocations: 337.2 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.65e-05/0.004806, allocations: 12.03 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.004832, allocations: 12.92 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.004961, allocations: 150.4 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.004974, allocations: 4.375 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.004989, allocations: 4.375 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.589e-05/0.005075, allocations: 65.75 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.005084, allocations: 3.938 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.00509, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.005096, allocations: 4 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.005118, allocations: 7.938 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.005313, allocations: 182 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.005392, allocations: 81.3 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.005408, allocations: 8.859 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.005418, allocations: 7.984 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.937e-05/0.005488, allocations: 70.12 kB / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.005489, allocations: 0 / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002487/0.005738, allocations: 105.5 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.005768, allocations: 67.27 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.005872, allocations: 189.6 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.005887, allocations: 37.69 kB / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.005917, allocations: 100.1 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.00594, allocations: 23.78 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.005966, allocations: 21.7 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.006045, allocations: 334.8 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.006059, allocations: 10.83 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.006081, allocations: 17.72 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.006127, allocations: 56.5 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.006128, allocations: 0 / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.653e-05/0.006194, allocations: 72.44 kB / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.00621, allocations: 8 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006214, allocations: 0 / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.006228, allocations: 0 / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.006282, allocations: 19.92 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006285, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.006312, allocations: 8.375 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.006317, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.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 5.83e-05/0.006376, allocations: 117.5 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.006389, allocations: 15.92 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/0.00648, allocations: 79.09 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006482, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.006484, allocations: 4 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006487, allocations: 4 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.006694, allocations: 295.4 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006696, allocations: 0 / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.006718, allocations: 11.98 kB / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00672, allocations: 0 / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.006725, allocations: 0 / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006726, allocations: 4.031 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006727, allocations: 4 kB / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.516e-05/0.006822, allocations: 215 kB / 329.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.006836, allocations: 19.88 kB / 329.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.006852, allocations: 4 kB / 329.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.006889, allocations: 4 kB / 329.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.006909, allocations: 11.92 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.006917, allocations: 4 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.006964, allocations: 60.23 kB / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006964, allocations: 0 / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.007104, allocations: 23.94 kB / 329.5 MB, free: 3.09 MB / 298.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.00119/0.008294, allocations: 0.5837 MB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.382e-05/0.008378, allocations: 40.77 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.008382, allocations: 4.062 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.00841, allocations: 20.86 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.008576, allocations: 47.59 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.008852, allocations: 238.5 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.008897, allocations: 79.31 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.395e-05/0.008931, allocations: 12.97 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.008994, allocations: 71.42 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008994, allocations: 0 / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of Templates: time 0.003381/0.01238, allocations: 2.027 MB / 332.7 MB, free: 268 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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: 2.894935383927077]