Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001816/0.001816, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002344/0.002344, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2327/0.2327, allocations: 44.94 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.91 kB / 0.4943 GB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 65.47 MB / 0.5583 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003577/0.3453, allocations: 1.877 MB / 0.5601 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3473, allocations: 1.069 MB / 0.5611 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.3474, allocations: 7.938 kB / 0.5611 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.348, allocations: 255.3 kB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.3485, allocations: 235.2 kB / 0.5616 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.3488, allocations: 119.6 kB / 0.5617 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.3491, allocations: 267.2 kB / 0.562 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3493, allocations: 29.94 kB / 0.562 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3495, allocations: 127.6 kB / 0.5621 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.3497, allocations: 207.4 kB / 0.5623 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.3498, allocations: 8 kB / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.3499, allocations: 67.97 kB / 0.5624 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.35, allocations: 63.7 kB / 0.5625 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.3501, allocations: 79.34 kB / 0.5625 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.3505, allocations: 257.2 kB / 0.5628 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.3505, allocations: 4 kB / 0.5628 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3505, allocations: 0 / 0.5628 GB, free: 2.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3505, allocations: 0 / 0.5628 GB, free: 2.793 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008195/0.3513, allocations: 0.5234 MB / 0.5633 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3513, allocations: 12.03 kB / 0.5633 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.3514, allocations: 28.75 kB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.3518, allocations: 232.9 kB / 0.5636 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3518, allocations: 8.375 kB / 0.5636 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.3519, allocations: 12.12 kB / 0.5636 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.3521, allocations: 110.2 kB / 0.5637 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3521, allocations: 7.938 kB / 0.5637 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3522, allocations: 4 kB / 0.5637 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3522, allocations: 4 kB / 0.5637 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3523, allocations: 51.95 kB / 0.5638 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.3529, allocations: 424.3 kB / 0.5642 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.3533, allocations: 117.2 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3534, allocations: 45.75 kB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3534, allocations: 8 kB / 0.5643 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.3537, allocations: 125 kB / 0.5644 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.3537, allocations: 0 / 0.5644 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001393/0.3551, allocations: 0.5327 MB / 0.565 GB, free: 432 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.3551, allocations: 81.11 kB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.3557, allocations: 0.5055 MB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.3558, allocations: 37.64 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3559, allocations: 168.5 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.356, allocations: 71.42 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.3561, allocations: 49.7 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3562, allocations: 342.8 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3564, allocations: 59.97 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.3565, allocations: 99.33 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.3568, allocations: 163.3 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3568, allocations: 0 / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004607/0.3573, allocations: 249.2 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3573, allocations: 8 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3573, allocations: 3.938 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3574, allocations: 0 / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.3575, allocations: 39.98 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3575, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-05/0.3576, allocations: 19.92 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3576, allocations: 8 kB / 0.5668 GB, free: 14.45 MB / 414.1 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 (26): * Single equations (assignments): 26 * 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 0.0001905/0.3578, allocations: 170.3 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.3579, allocations: 39.83 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005799/0.3585, allocations: 288.6 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3585, allocations: 4 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3585, allocations: 0 / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3585, allocations: 0 / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.3595, allocations: 0.6916 MB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3595, allocations: 0 / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.3596, allocations: 36.05 kB / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3596, allocations: 8 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3596, allocations: 8 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3596, allocations: 4.219 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3596, allocations: 4 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.3602, allocations: 451.5 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.3602, allocations: 31.81 kB / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.3603, allocations: 8 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3604, allocations: 11.98 kB / 0.5685 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.3605, allocations: 19.91 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.3605, allocations: 16 kB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004037/0.3609, allocations: 379.1 kB / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3609, allocations: 0 / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.3613, allocations: 59.86 kB / 0.5689 GB, free: 12.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.002161/0.3635, allocations: 0.5484 MB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.3639, allocations: 151.8 kB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3639, allocations: 4.125 kB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.3641, allocations: 79.84 kB / 0.5697 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.3647, allocations: 71.14 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.3658, allocations: 0.6464 MB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.366, allocations: 182.4 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.3661, allocations: 27.44 kB / 0.5706 GB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3661, allocations: 0 / 0.5706 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Templates: time 0.007113/0.3732, allocations: 3.999 MB / 0.5745 GB, free: 6.656 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.346500074025244]