Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.00135/0.00135, 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.001516/0.001516, 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 1.056/1.056, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1688/0.1688, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.677e-06/3.677e-06, allocations: 3.938 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.497e-05, allocations: 2.312 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003986/0.004021, allocations: 1.853 MB / 350.1 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.005811, allocations: 0.8854 MB / 350.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.005951, allocations: 3.938 kB / 350.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006253/0.006576, allocations: 155.5 kB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004061/0.006982, allocations: 143.4 kB / 351.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.007388, allocations: 151.5 kB / 351.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.007676, allocations: 223.3 kB / 351.6 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.007803, allocations: 13.8 kB / 351.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.007978, allocations: 127.6 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.008154, allocations: 127.7 kB / 351.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.008182, allocations: 4 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.008287, allocations: 43.98 kB / 351.9 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-05/0.008369, allocations: 55.77 kB / 352 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.008437, allocations: 31.88 kB / 352 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.008703, allocations: 159.3 kB / 352.2 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.008708, allocations: 0 / 352.2 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.00871, allocations: 0 / 352.2 MB, free: 5.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.008717, allocations: 0 / 352.2 MB, free: 5.117 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006215/0.009338, allocations: 0.5537 MB / 352.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.009395, allocations: 12.03 kB / 352.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.009461, allocations: 24.8 kB / 352.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.0097, allocations: 207.6 kB / 352.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.009729, allocations: 4.312 kB / 353 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.009756, allocations: 4.375 kB / 353 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.01001, allocations: 110.2 kB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.01003, allocations: 3.938 kB / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.01004, allocations: 0 / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.01005, allocations: 0 / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.045e-05/0.01012, allocations: 31.91 kB / 353.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.0106, allocations: 435.2 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.01076, allocations: 106.3 kB / 353.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.0108, allocations: 35.34 kB / 353.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.01082, allocations: 3.938 kB / 353.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.01098, allocations: 112.3 kB / 353.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.01099, allocations: 8 kB / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.000479/0.01146, allocations: 245.2 kB / 354 MB, free: 3.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.01149, allocations: 77.11 kB / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01164, allocations: 330.2 kB / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.01166, allocations: 33.7 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.01173, allocations: 199 kB / 354.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.01176, allocations: 47.62 kB / 354.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.0118, allocations: 39.36 kB / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.01188, allocations: 0.5234 MB / 355.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.01191, allocations: 15.98 kB / 355.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.01195, allocations: 69.75 kB / 355.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.567e-05/0.01204, allocations: 94.8 kB / 355.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01204, allocations: 0 / 355.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001717/0.01221, allocations: 153.3 kB / 355.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.01223, allocations: 4 kB / 355.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.01224, allocations: 0 / 355.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.01226, allocations: 4 kB / 355.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.01239, allocations: 32.05 kB / 355.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.0124, allocations: 4 kB / 355.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.01244, allocations: 8 kB / 355.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.01245, allocations: 7.938 kB / 355.6 MB, free: 1.348 MB / 282.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001076/0.01256, allocations: 176.4 kB / 355.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.01259, allocations: 31.81 kB / 355.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.01282, allocations: 167.3 kB / 356 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01282, allocations: 4 kB / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01282, allocations: 0.75 kB / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01283, allocations: 3.984 kB / 356 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.01318, allocations: 0.5981 MB / 356.6 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01319, allocations: 0 / 356.6 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.01324, allocations: 19.98 kB / 356.6 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.01324, allocations: 8 kB / 356.6 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.01325, allocations: 8 kB / 356.7 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01325, allocations: 0 / 356.7 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01326, allocations: 3.938 kB / 356.7 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.0135, allocations: 458.3 kB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.01353, allocations: 19.92 kB / 357.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.01355, allocations: 8 kB / 357.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.01363, allocations: 7.984 kB / 357.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.01368, allocations: 19.92 kB / 357.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.0137, allocations: 7.984 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.01383, allocations: 230.9 kB / 357.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01383, allocations: 0 / 357.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.01405, allocations: 43.94 kB / 357.4 MB, free: 15.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001023/0.01507, allocations: 438.2 kB / 357.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.01525, allocations: 98.94 kB / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01525, allocations: 0 / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.01531, allocations: 47.59 kB / 358 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.01568, allocations: 65.44 kB / 358.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.0163, allocations: 392.6 kB / 358.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.35e-05/0.01638, allocations: 92.22 kB / 358.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.731e-05/0.01645, allocations: 41.59 kB / 358.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.01656, allocations: 118.1 kB / 358.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01657, allocations: 0 / 358.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of Templates: time 0.005812/0.02238, allocations: 3.186 MB / 361.9 MB, free: 11.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.3587562912143767]