Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.001087/0.001087, allocations: 80.2 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.001273/0.001273, allocations: 173 kB / 24.05 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 0.9532/0.9532, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1464/0.1464, 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.282e-05, allocations: 2.312 kB / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002654/0.002687, allocations: 1.722 MB / 349.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003815, allocations: 0.792 MB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.003932, allocations: 0 / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.004276, allocations: 35.78 kB / 350.8 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.004507, allocations: 63.67 kB / 350.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.004778, allocations: 87.66 kB / 350.9 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.004919, allocations: 99.67 kB / 351 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.00501, allocations: 4.234 kB / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.0051, allocations: 51.84 kB / 351.1 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.005173, allocations: 31.89 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.00519, allocations: 0 / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.264e-05/0.005273, allocations: 43.92 kB / 351.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.005319, allocations: 23.86 kB / 351.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.005355, allocations: 19.92 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.005508, allocations: 95.66 kB / 351.3 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.005512, allocations: 7.938 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.005514, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.005519, allocations: 0 / 351.3 MB, free: 6.016 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.0003827/0.005902, allocations: 443.9 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.005947, allocations: 8.031 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.005983, allocations: 12.89 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.006131, allocations: 148.4 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.00615, allocations: 4.375 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.00617, allocations: 4.328 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.006307, allocations: 66.88 kB / 351.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.006319, allocations: 7.938 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.006327, allocations: 3.938 kB / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.006334, allocations: 0 / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.006364, allocations: 11.98 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.006667, allocations: 256.4 kB / 352.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.00678, allocations: 47.17 kB / 352.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.006806, allocations: 23.61 kB / 352.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.006827, allocations: 4 kB / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.006938, allocations: 76.95 kB / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.345e-06/0.00694, allocations: 0 / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003417/0.007282, allocations: 133.4 kB / 352.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.007305, allocations: 55.41 kB / 352.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.007386, allocations: 217.8 kB / 352.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.007395, allocations: 29.7 kB / 352.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.007429, allocations: 146.9 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.007453, allocations: 27.77 kB / 353 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.007482, allocations: 27.38 kB / 353 MB, free: 4.113 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.007669, allocations: 0.5001 MB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.007693, allocations: 7.984 kB / 353.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.007721, allocations: 39.31 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.007763, allocations: 39.36 kB / 353.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007764, allocations: 4 kB / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.311e-05/0.007857, allocations: 89.55 kB / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.00787, allocations: 4 kB / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.007875, allocations: 80 / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.007889, allocations: 4 kB / 353.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.007957, allocations: 15.98 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.007961, allocations: 8.016 kB / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.007993, allocations: 4 kB / 353.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.007999, allocations: 0 / 353.7 MB, free: 3.367 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 6.106e-05/0.00806, allocations: 168.5 kB / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.008076, allocations: 19.84 kB / 353.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.008208, allocations: 94.45 kB / 354 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.00821, allocations: 3.984 kB / 354 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.008212, allocations: 3.938 kB / 354 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.008216, allocations: 3.938 kB / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.008458, allocations: 361.7 kB / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.00846, allocations: 3.938 kB / 354.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.00849, allocations: 8 kB / 354.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.008494, allocations: 0 / 354.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.008502, allocations: 8.359 kB / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008504, allocations: 0 / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.008506, allocations: 4 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.008622, allocations: 259.4 kB / 354.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.008634, allocations: 7.953 kB / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.008653, allocations: 8 kB / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/0.008696, allocations: 0 / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.008724, allocations: 12.02 kB / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.008738, allocations: 4 kB / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.108e-05/0.008779, allocations: 160 kB / 354.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008779, allocations: 0 / 354.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.008953, allocations: 27.92 kB / 354.8 MB, free: 2.156 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.0009985/0.009951, allocations: 433.7 kB / 355.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.01009, allocations: 51.53 kB / 355.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01009, allocations: 0 / 355.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.01013, allocations: 35.83 kB / 355.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.01038, allocations: 35.97 kB / 355.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.01071, allocations: 217.4 kB / 355.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.01075, allocations: 67.33 kB / 355.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.708e-05/0.01079, allocations: 12.5 kB / 355.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.01085, allocations: 86.19 kB / 355.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01085, allocations: 4.062 kB / 355.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of Templates: time 0.004052/0.0149, allocations: 2.021 MB / 357.8 MB, free: 15.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.302489618770778]