Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001185/0.001185, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001116/0.001116, allocations: 167.6 kB / 24.84 MB, free: 9.297 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 1.089/1.089, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.136/0.136, allocations: 32.37 MB / 271.5 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.679e-05, allocations: 4.281 kB / 349 MB, free: 9.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.005553/0.005579, allocations: 1.851 MB / 350.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.006819, allocations: 0.8815 MB / 351.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.006918, allocations: 7.938 kB / 351.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.007306, allocations: 243.3 kB / 352 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.008716, allocations: 203.2 kB / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.009091, allocations: 143.5 kB / 352.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.009377, allocations: 251.2 kB / 352.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.009473, allocations: 13.8 kB / 352.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.009658, allocations: 147.6 kB / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.009843, allocations: 187.6 kB / 352.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.009866, allocations: 8 kB / 352.9 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.009973, allocations: 43.92 kB / 353 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.01004, allocations: 71.69 kB / 353 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.01009, allocations: 39.8 kB / 353.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.01034, allocations: 179.3 kB / 353.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01035, allocations: 0 / 353.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01035, allocations: 0 / 353.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.01036, allocations: 4 kB / 353.2 MB, free: 4.812 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.0005136/0.01087, allocations: 0.6002 MB / 353.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.01091, allocations: 8.031 kB / 353.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.01097, allocations: 36.75 kB / 353.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.0112, allocations: 220.5 kB / 354.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.01122, allocations: 4.375 kB / 354.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.01124, allocations: 12.31 kB / 354.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.01142, allocations: 102.3 kB / 354.2 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.01143, allocations: 3.938 kB / 354.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.01144, allocations: 0 / 354.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.01145, allocations: 8 kB / 354.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.01149, allocations: 23.91 kB / 354.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.01185, allocations: 451.2 kB / 354.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.01199, allocations: 102.3 kB / 354.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.01203, allocations: 31.36 kB / 354.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.01204, allocations: 7.938 kB / 354.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.01218, allocations: 116.3 kB / 354.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.01218, allocations: 0 / 354.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004975/0.01268, allocations: 253.2 kB / 355.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.0127, allocations: 81.11 kB / 355.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.01292, allocations: 402.6 kB / 355.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.01294, allocations: 29.7 kB / 355.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.01303, allocations: 231 kB / 355.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.01308, allocations: 47.62 kB / 356 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.01313, allocations: 39.36 kB / 356 MB, free: 1.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.01319, allocations: 0.5273 MB / 356.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.01323, allocations: 23.98 kB / 356.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.01328, allocations: 69.8 kB / 356.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.01336, allocations: 94.73 kB / 356.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01337, allocations: 0 / 356.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001806/0.01355, allocations: 158 kB / 356.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01356, allocations: 4 kB / 356.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01356, allocations: 4 kB / 356.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.01357, allocations: 4.062 kB / 356.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01368, allocations: 27.98 kB / 356.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.01368, allocations: 7.938 kB / 356.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.01375, allocations: 15.92 kB / 356.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.01376, allocations: 8 kB / 356.9 MB, free: 0.8359 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 8.027e-05/0.01384, allocations: 164.5 kB / 357.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.01387, allocations: 39.81 kB / 357.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.01409, allocations: 176.5 kB / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.0141, allocations: 0 / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.0141, allocations: 4 kB / 357.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.0141, allocations: 0 / 357.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.0145, allocations: 0.6135 MB / 357.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.0145, allocations: 0 / 357.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.01455, allocations: 27.98 kB / 358 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01455, allocations: 0 / 358 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.01456, allocations: 4 kB / 358 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.01456, allocations: 3.938 kB / 358 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.01456, allocations: 4 kB / 358 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.01483, allocations: 462.1 kB / 358.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.01486, allocations: 27.81 kB / 358.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.01488, allocations: 3.984 kB / 358.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.01496, allocations: 8 kB / 358.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.01499, allocations: 27.83 kB / 358.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.01501, allocations: 8 kB / 358.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.01514, allocations: 267 kB / 358.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01514, allocations: 0 / 358.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.01538, allocations: 43.92 kB / 358.8 MB, free: 14.89 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.001033/0.01642, allocations: 448.5 kB / 359.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.01658, allocations: 94.94 kB / 359.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.01658, allocations: 0 / 359.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.01664, allocations: 47.59 kB / 359.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.01698, allocations: 62.06 kB / 359.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.01753, allocations: 465.1 kB / 359.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.875e-05/0.0176, allocations: 103.9 kB / 360 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.01767, allocations: 29.61 kB / 360 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.707e-05/0.01776, allocations: 110.2 kB / 360.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01776, allocations: 4 kB / 360.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Templates: time 0.005055/0.02282, allocations: 3.266 MB / 363.4 MB, free: 10.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.3555873511359096]