Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001912/0.001912, allocations: 120.8 kB / 20.33 MB, free: 1.543 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.002486/0.002486, allocations: 218.9 kB / 23.61 MB, free: 4.93 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.532/1.532, allocations: 230.5 MB / 257.2 MB, free: 8.066 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.2227/0.2227, allocations: 44.91 MB / 358.6 MB, free: 6.32 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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [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.002165/0.002165, allocations: 68.17 kB / 0.4932 GB, free: 10.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 65.47 MB / 0.5571 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002975/0.3434, allocations: 1.619 MB / 0.5587 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3452, allocations: 1.259 MB / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.3453, allocations: 0 / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.3455, allocations: 19.84 kB / 0.56 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.3458, allocations: 83.62 kB / 0.56 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3461, allocations: 91.7 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3462, allocations: 71.77 kB / 0.5602 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.3463, allocations: 12 kB / 0.5602 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.3464, allocations: 31.78 kB / 0.5602 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00818/0.3546, allocations: 31.91 kB / 0.5603 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3546, allocations: 7.938 kB / 0.5603 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.3548, allocations: 91.88 kB / 0.5604 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.3549, allocations: 12 kB / 0.5604 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.3549, allocations: 27.78 kB / 0.5604 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.3552, allocations: 137.9 kB / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3552, allocations: 4 kB / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3552, allocations: 3.938 kB / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3552, allocations: 4 kB / 0.5606 GB, free: 4.234 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005734/0.3558, allocations: 321.7 kB / 0.5609 GB, free: 3.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3558, allocations: 8.031 kB / 0.5609 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.3559, allocations: 8.891 kB / 0.5609 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3561, allocations: 144.8 kB / 0.561 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.3561, allocations: 384 / 0.561 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3561, allocations: 384 / 0.561 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3563, allocations: 97.22 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3563, allocations: 7.938 kB / 0.5611 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3563, allocations: 0 / 0.5611 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3563, allocations: 0 / 0.5611 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.3564, allocations: 19.98 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.3568, allocations: 247.9 kB / 0.5614 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.357, allocations: 50.5 kB / 0.5614 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.3571, allocations: 12.94 kB / 0.5614 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3571, allocations: 4 kB / 0.5614 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3571, allocations: 30.56 kB / 0.5615 GB, free: 3.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3571, allocations: 0 / 0.5615 GB, free: 3.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006287/0.3577, allocations: 149.4 kB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3578, allocations: 77.11 kB / 0.5617 GB, free: 2.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.358, allocations: 141.8 kB / 0.5618 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.358, allocations: 25.7 kB / 0.5618 GB, free: 2.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.3581, allocations: 96.12 kB / 0.5619 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.3581, allocations: 23.73 kB / 0.562 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.3581, allocations: 17.72 kB / 0.562 GB, free: 2.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3583, allocations: 322.8 kB / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.3584, allocations: 23.98 kB / 0.5623 GB, free: 2.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3585, allocations: 55.41 kB / 0.5624 GB, free: 2.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3586, allocations: 44.83 kB / 0.5624 GB, free: 2.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3586, allocations: 0 / 0.5624 GB, free: 2.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002089/0.3588, allocations: 86.03 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3588, allocations: 8.031 kB / 0.5625 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3588, allocations: 4.062 kB / 0.5625 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3589, allocations: 3.938 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.3589, allocations: 15.98 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3589, allocations: 0 / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.359, allocations: 11.97 kB / 0.5625 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.359, allocations: 3.938 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.912e-05/0.3591, allocations: 117.8 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.3591, allocations: 11.95 kB / 0.5626 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.3594, allocations: 94 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3594, allocations: 0 / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3594, allocations: 0 / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3594, allocations: 0 / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.3599, allocations: 325.5 kB / 0.563 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3599, allocations: 0 / 0.563 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.36, allocations: 19.94 kB / 0.5631 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.36, allocations: 0 / 0.5631 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.36, allocations: 3.984 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.36, allocations: 3.938 kB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.36, allocations: 0 / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.3602, allocations: 171.5 kB / 0.5632 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.3602, allocations: 7.953 kB / 0.5632 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3603, allocations: 11.98 kB / 0.5633 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.3603, allocations: 7.938 kB / 0.5633 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.3604, allocations: 8.172 kB / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3604, allocations: 4 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3605, allocations: 114.1 kB / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3605, allocations: 0 / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.3608, allocations: 43.8 kB / 0.5634 GB, free: 0.9844 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001821/0.3626, allocations: 0.4909 MB / 0.5639 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3629, allocations: 47.97 kB / 0.564 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3629, allocations: 0 / 0.564 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.3629, allocations: 23.98 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3633, allocations: 23.86 kB / 0.564 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.3637, allocations: 165.5 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.407e-05/0.3638, allocations: 79.08 kB / 0.5642 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.3639, allocations: 15.77 kB / 0.5642 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.3639, allocations: 19.42 kB / 0.5643 GB, free: 272 kB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3639, allocations: 0 / 0.5643 GB, free: 272 kB / 398.1 MB Notification: Performance of Templates: time 0.005253/0.3692, allocations: 1.779 MB / 0.566 GB, free: 14.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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: 5.305275360122323]