Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001089/0.001089, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001239/0.001239, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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.9822/0.9822, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1496/0.1496, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.097e-05, allocations: 2.312 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002704/0.002735, allocations: 1.736 MB / 349.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.00381, allocations: 0.8037 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.003882, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.004201, allocations: 39.77 kB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.004438, allocations: 55.69 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.004677, allocations: 91.69 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.00483, allocations: 91.7 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.004926, allocations: 8.234 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.005011, allocations: 59.75 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.005081, allocations: 23.92 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.005101, allocations: 4 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.005189, allocations: 43.91 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.005247, allocations: 19.92 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.005294, allocations: 19.94 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.005484, allocations: 99.53 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005487, allocations: 0 / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005488, allocations: 0 / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.005493, allocations: 4 kB / 350.8 MB, free: 6.262 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.000435/0.005928, allocations: 443.9 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.005969, allocations: 8.031 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.006019, allocations: 12.89 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.006186, allocations: 148.4 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.006207, allocations: 4.375 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.006233, allocations: 4.328 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.006374, allocations: 62.94 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.006386, allocations: 7.875 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.006397, allocations: 0 / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.006405, allocations: 4 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.006445, allocations: 15.98 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.006727, allocations: 279.8 kB / 351.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.006834, allocations: 51.11 kB / 351.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.006867, allocations: 27.61 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.006882, allocations: 0 / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.776e-05/0.00698, allocations: 65.05 kB / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.006982, allocations: 0 / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005283/0.00751, allocations: 157.5 kB / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.007533, allocations: 55.34 kB / 352.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.007643, allocations: 224.1 kB / 352.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.007653, allocations: 33.69 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.007689, allocations: 142.9 kB / 352.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.007717, allocations: 39.72 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.007754, allocations: 31.38 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.007804, allocations: 0.4923 MB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.007831, allocations: 16.17 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.007868, allocations: 39.3 kB / 353.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/0.007928, allocations: 55.31 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007929, allocations: 0 / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001127/0.008041, allocations: 85.58 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.008053, allocations: 4 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008058, allocations: 0 / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.008077, allocations: 4 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.008156, allocations: 15.98 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.008162, allocations: 0 / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.008197, allocations: 4 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.008206, allocations: 4.031 kB / 353.3 MB, free: 3.543 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 5.619e-05/0.008262, allocations: 176.4 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.008282, allocations: 19.91 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.008434, allocations: 102.5 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.008438, allocations: 7.984 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008442, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008445, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.008716, allocations: 389 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.008717, allocations: 0 / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.008747, allocations: 8 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.00875, allocations: 4.031 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.008759, allocations: 4 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008761, allocations: 0 / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008762, allocations: 0 / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.008889, allocations: 259.4 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.008901, allocations: 11.94 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.00892, allocations: 8 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.631e-05/0.008977, allocations: 0 / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.009012, allocations: 11.92 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.009025, allocations: 8 kB / 354.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.82e-05/0.009084, allocations: 172 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009084, allocations: 0 / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.009333, allocations: 27.92 kB / 354.5 MB, free: 2.273 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.0009761/0.01031, allocations: 435.8 kB / 354.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.01044, allocations: 51.61 kB / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01044, allocations: 0 / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.01048, allocations: 31.61 kB / 355 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.01077, allocations: 40 kB / 355.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.01111, allocations: 217.7 kB / 355.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.01114, allocations: 71.34 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.01118, allocations: 16.47 kB / 355.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.01121, allocations: 20.44 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01121, allocations: 0 / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.003852/0.01506, allocations: 1.837 MB / 357.2 MB, free: 15.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.4509247271344066]