Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.0009851/0.0009851, 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.001065/0.001065, allocations: 163.4 kB / 24.84 MB, free: 8.711 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.186/1.186, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.1483/0.1483, allocations: 32.37 MB / 271.5 MB, free: 14.41 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.695e-05, allocations: 2.312 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.001909/0.001926, allocations: 1.859 MB / 350.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.002825, allocations: 0.8815 MB / 351.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.00291, allocations: 3.938 kB / 351.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.003323, allocations: 255.3 kB / 352 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.003581, allocations: 187.3 kB / 352.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.003849, allocations: 151.5 kB / 352.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.004059, allocations: 251.2 kB / 352.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.004159, allocations: 17.8 kB / 352.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.004293, allocations: 143.6 kB / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.004456, allocations: 187.6 kB / 352.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.004479, allocations: 8 kB / 352.9 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.004578, allocations: 47.92 kB / 353 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.00466, allocations: 67.7 kB / 353 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.004711, allocations: 39.8 kB / 353.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.004975, allocations: 179.3 kB / 353.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004978, allocations: 4 kB / 353.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004978, allocations: 0 / 353.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.004985, allocations: 4 kB / 353.2 MB, free: 4.809 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.0005436/0.005528, allocations: 0.5924 MB / 353.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.005566, allocations: 8.031 kB / 353.8 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.005624, allocations: 32.75 kB / 353.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.005819, allocations: 224.5 kB / 354.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.005839, allocations: 8.375 kB / 354.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.005861, allocations: 4.375 kB / 354.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.006013, allocations: 106.2 kB / 354.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.006026, allocations: 3.938 kB / 354.2 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.006036, allocations: 12 kB / 354.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.006043, allocations: 0 / 354.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.006081, allocations: 19.92 kB / 354.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.006364, allocations: 455.2 kB / 354.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.006484, allocations: 106.2 kB / 354.8 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.006513, allocations: 31.36 kB / 354.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.006527, allocations: 3.938 kB / 354.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.006641, allocations: 116.3 kB / 354.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 8.81e-07/0.006642, allocations: 0 / 354.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004207/0.007063, allocations: 249.2 kB / 355.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.007092, allocations: 85.11 kB / 355.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.007269, allocations: 402.6 kB / 355.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.00728, allocations: 29.7 kB / 355.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.007348, allocations: 227 kB / 355.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.007385, allocations: 51.62 kB / 356 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.007424, allocations: 39.34 kB / 356 MB, free: 1.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.007507, allocations: 0.5312 MB / 356.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.007532, allocations: 19.98 kB / 356.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/0.007576, allocations: 65.8 kB / 356.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.569e-05/0.007652, allocations: 94.8 kB / 356.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.007653, allocations: 0 / 356.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001571/0.00781, allocations: 153.3 kB / 356.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.007826, allocations: 8 kB / 356.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.007832, allocations: 0 / 356.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.007846, allocations: 8 kB / 356.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.355e-05/0.007939, allocations: 35.97 kB / 356.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.007944, allocations: 3.938 kB / 356.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.007994, allocations: 11.94 kB / 356.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.008004, allocations: 4 kB / 356.9 MB, free: 0.8438 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.72e-05/0.008091, allocations: 172.5 kB / 357.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.008126, allocations: 35.8 kB / 357.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.008338, allocations: 172.5 kB / 357.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.00834, allocations: 0 / 357.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.008344, allocations: 8.75 kB / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.008349, allocations: 3.984 kB / 357.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.008777, allocations: 0.6096 MB / 357.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.00878, allocations: 4 kB / 357.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.008827, allocations: 20 kB / 358 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.00883, allocations: 0 / 358 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.008843, allocations: 11.98 kB / 358 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.008849, allocations: 7.938 kB / 358 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00885, allocations: 0 / 358 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.009136, allocations: 462.1 kB / 358.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.00916, allocations: 27.8 kB / 358.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.009184, allocations: 8 kB / 358.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.009255, allocations: 4 kB / 358.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.009293, allocations: 23.84 kB / 358.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.009308, allocations: 8 kB / 358.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.009454, allocations: 271 kB / 358.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009454, allocations: 0 / 358.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.009678, allocations: 43.94 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.0008382/0.01052, allocations: 438.5 kB / 359.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.01068, allocations: 86.94 kB / 359.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01068, allocations: 3.938 kB / 359.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.767e-05/0.01075, allocations: 55.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.0003578/0.01111, allocations: 69.98 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.0005781/0.01169, allocations: 461.1 kB / 359.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.381e-05/0.01176, allocations: 99.89 kB / 360 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.683e-05/0.01183, allocations: 33.61 kB / 360 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.01193, allocations: 114.2 kB / 360.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01193, allocations: 4 kB / 360.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Templates: time 0.005139/0.01707, allocations: 3.269 MB / 363.4 MB, free: 10.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.6524405260570347]