Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.001001/0.001001, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001099/0.001099, allocations: 173 kB / 24.06 MB, free: 452 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.9467/0.9467, allocations: 158.6 MB / 185.9 MB, free: 2.781 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.1329/0.1329, allocations: 32.38 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.247e-05, allocations: 4.281 kB / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003057/0.003079, allocations: 1.726 MB / 349.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004555, allocations: 1.517 MB / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.004661, allocations: 4 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.005039, allocations: 35.83 kB / 351.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.005268, allocations: 71.56 kB / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.005427, allocations: 79.7 kB / 351.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.00556, allocations: 107.6 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.005656, allocations: 4.234 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.005734, allocations: 47.91 kB / 351.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.005834, allocations: 35.83 kB / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.005855, allocations: 4 kB / 351.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.005956, allocations: 63.89 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.006004, allocations: 15.92 kB / 351.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.006041, allocations: 23.94 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.006241, allocations: 111.5 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006243, allocations: 0 / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.006245, allocations: 4 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.006252, allocations: 0 / 352 MB, free: 5.238 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.0004059/0.006658, allocations: 435.9 kB / 352.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.006699, allocations: 12.03 kB / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.006735, allocations: 8.891 kB / 352.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.006863, allocations: 148.4 kB / 352.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.006875, allocations: 384 / 352.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.006897, allocations: 8.375 kB / 352.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.007021, allocations: 108 kB / 352.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.007028, allocations: 7.875 kB / 352.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.007036, allocations: 0 / 352.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.007039, allocations: 0 / 352.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.007066, allocations: 15.97 kB / 352.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.007258, allocations: 260.4 kB / 353 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.007334, allocations: 43.17 kB / 353.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.007352, allocations: 15.67 kB / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.007368, allocations: 12 kB / 353.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.807e-05/0.007446, allocations: 72.97 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.007447, allocations: 0 / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002878/0.007735, allocations: 129.4 kB / 353.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.007763, allocations: 85.05 kB / 353.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.00785, allocations: 208.9 kB / 353.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.00786, allocations: 25.7 kB / 353.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.007902, allocations: 146.8 kB / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.00793, allocations: 27.75 kB / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.007973, allocations: 35.34 kB / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.008072, allocations: 0.4923 MB / 354.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.008089, allocations: 7.984 kB / 354.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.008124, allocations: 64.75 kB / 354.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.008167, allocations: 47.3 kB / 354.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.008168, allocations: 0 / 354.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.519e-05/0.008253, allocations: 89.62 kB / 354.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.008264, allocations: 4 kB / 354.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.008269, allocations: 0 / 354.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.008279, allocations: 8.062 kB / 354.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.008336, allocations: 15.94 kB / 354.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.008339, allocations: 0 / 354.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.008365, allocations: 7.984 kB / 354.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.00837, allocations: 4 kB / 354.5 MB, free: 2.488 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.668e-05/0.008417, allocations: 160.6 kB / 354.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.00843, allocations: 15.89 kB / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.008537, allocations: 102.4 kB / 354.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008539, allocations: 0 / 354.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.00854, allocations: 0 / 354.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008544, allocations: 4 kB / 354.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.008749, allocations: 361.5 kB / 355.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00875, allocations: 384 / 355.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.008771, allocations: 11.98 kB / 355.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.008775, allocations: 4 kB / 355.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.008781, allocations: 4 kB / 355.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.008782, allocations: 0 / 355.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.008783, allocations: 3.938 kB / 355.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.34e-05/0.008877, allocations: 247.5 kB / 355.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.008885, allocations: 3.953 kB / 355.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.008902, allocations: 15.97 kB / 355.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.008941, allocations: 7.984 kB / 355.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.008965, allocations: 3.984 kB / 355.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.008976, allocations: 4 kB / 355.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.232e-05/0.009018, allocations: 154.4 kB / 355.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009018, allocations: 0 / 355.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.009189, allocations: 31.92 kB / 355.7 MB, free: 1.301 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.0009119/0.0101, allocations: 0.489 MB / 356.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.01018, allocations: 43.61 kB / 356.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01018, allocations: 0 / 356.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.01021, allocations: 31.61 kB / 356.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.01041, allocations: 35.77 kB / 356.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.01066, allocations: 197.1 kB / 356.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.619e-05/0.01069, allocations: 75.36 kB / 356.5 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.01072, allocations: 8.812 kB / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.01078, allocations: 98.11 kB / 356.6 MB, free: 376 kB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01079, allocations: 4 kB / 356.6 MB, free: 372 kB / 282.7 MB Notification: Performance of Templates: time 0.003964/0.01475, allocations: 2.313 MB / 358.9 MB, free: 14.06 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.005927682854235]