Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001778/0.001778, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002159/0.002159, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.593/1.593, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2288/0.2288, allocations: 44.93 MB / 358.8 MB, free: 6.086 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [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.002191/0.002191, allocations: 63.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3544, allocations: 65.49 MB / 0.5575 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003094/0.3574, allocations: 1.605 MB / 0.559 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3585, allocations: 0.5349 MB / 0.5596 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.3586, allocations: 0 / 0.5596 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.3589, allocations: 99.67 kB / 0.5597 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.3592, allocations: 111.6 kB / 0.5598 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.3595, allocations: 119.4 kB / 0.5599 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3597, allocations: 87.73 kB / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3598, allocations: 19.64 kB / 0.56 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.3598, allocations: 35.89 kB / 0.56 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.36, allocations: 63.7 kB / 0.5601 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.36, allocations: 0 / 0.5601 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3601, allocations: 47.97 kB / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.3601, allocations: 19.92 kB / 0.5601 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.3602, allocations: 23.81 kB / 0.5602 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.3604, allocations: 114.2 kB / 0.5603 GB, free: 4.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3604, allocations: 4 kB / 0.5603 GB, free: 4.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3604, allocations: 0 / 0.5603 GB, free: 4.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3604, allocations: 0 / 0.5603 GB, free: 4.602 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005249/0.3609, allocations: 353.5 kB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3609, allocations: 8.031 kB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.361, allocations: 16.84 kB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3612, allocations: 142.9 kB / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3612, allocations: 4.375 kB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3612, allocations: 8.328 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3614, allocations: 53.81 kB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3614, allocations: 7.984 kB / 0.5608 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3614, allocations: 4 kB / 0.5609 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3614, allocations: 3.938 kB / 0.5609 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.63e-05/0.3615, allocations: 27.92 kB / 0.5609 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.3619, allocations: 248.5 kB / 0.5611 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.362, allocations: 46.56 kB / 0.5612 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.3621, allocations: 16.94 kB / 0.5612 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3621, allocations: 3.938 kB / 0.5612 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3621, allocations: 42.55 kB / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3621, allocations: 0 / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009052/0.363, allocations: 241.1 kB / 0.5615 GB, free: 3.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3631, allocations: 59.34 kB / 0.5615 GB, free: 3.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.3633, allocations: 230.8 kB / 0.5617 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3633, allocations: 29.7 kB / 0.5618 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.3634, allocations: 108.1 kB / 0.5619 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3634, allocations: 31.73 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.3635, allocations: 17.72 kB / 0.5619 GB, free: 2.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3636, allocations: 330.8 kB / 0.5622 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.3637, allocations: 27.97 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.3638, allocations: 31.98 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.364, allocations: 85.03 kB / 0.5624 GB, free: 2.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.364, allocations: 4 kB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002254/0.3642, allocations: 109.6 kB / 0.5625 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3642, allocations: 4 kB / 0.5625 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3642, allocations: 0 / 0.5625 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3642, allocations: 4 kB / 0.5625 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3643, allocations: 19.98 kB / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3643, allocations: 0 / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.3644, allocations: 4 kB / 0.5625 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3644, allocations: 15.92 kB / 0.5625 GB, free: 2.129 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 (8): * Single equations (assignments): 8 * 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.0001079/0.3645, allocations: 129.8 kB / 0.5626 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.3645, allocations: 7.953 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.3648, allocations: 135 kB / 0.5628 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3649, allocations: 7.938 kB / 0.5628 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3649, allocations: 0 / 0.5628 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3649, allocations: 0 / 0.5628 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.3654, allocations: 370.8 kB / 0.5631 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3654, allocations: 0 / 0.5631 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.3655, allocations: 15.98 kB / 0.5632 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3655, allocations: 4 kB / 0.5632 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.3655, allocations: 3.938 kB / 0.5632 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.3655, allocations: 7.922 kB / 0.5632 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3655, allocations: 0 / 0.5632 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.3658, allocations: 212.3 kB / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.3658, allocations: 7.953 kB / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.3658, allocations: 8.031 kB / 0.5634 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.3659, allocations: 11.92 kB / 0.5634 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.366, allocations: 4 kB / 0.5634 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.366, allocations: 3.984 kB / 0.5634 GB, free: 1.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.3661, allocations: 176.3 kB / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3661, allocations: 0 / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.3664, allocations: 19.95 kB / 0.5636 GB, free: 0.9453 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001904/0.3683, allocations: 0.5059 MB / 0.5641 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3685, allocations: 71.94 kB / 0.5642 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3685, allocations: 0 / 0.5642 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.3686, allocations: 35.92 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.369, allocations: 27.8 kB / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.3696, allocations: 278.9 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.3697, allocations: 96.73 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.3698, allocations: 16.66 kB / 0.5646 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.3698, allocations: 23.44 kB / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3698, allocations: 0 / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of Templates: time 0.004704/0.3745, allocations: 1.462 MB / 0.566 GB, free: 14.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.231685899198055]