Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001664/0.001664, allocations: 99.66 kB / 21.18 MB, free: 0.6445 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.001874/0.001874, allocations: 210 kB / 24.48 MB, free: 3.938 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.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2556/0.2556, allocations: 46.96 MB / 361.6 MB, free: 4.121 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 0.4974 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.00334/0.3536, allocations: 1.644 MB / 0.5634 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3547, allocations: 0.5349 MB / 0.564 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.3548, allocations: 7.938 kB / 0.564 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.3551, allocations: 95.67 kB / 0.5641 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.3555, allocations: 115.6 kB / 0.5642 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3558, allocations: 119.4 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.356, allocations: 103.8 kB / 0.5644 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3561, allocations: 27.62 kB / 0.5644 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.24e-05/0.3562, allocations: 47.78 kB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.3563, allocations: 63.8 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3563, allocations: 4 kB / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3564, allocations: 47.98 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.3565, allocations: 35.89 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.3566, allocations: 27.75 kB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3568, allocations: 138.2 kB / 0.5648 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3568, allocations: 0 / 0.5648 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3568, allocations: 4 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3568, allocations: 0 / 0.5648 GB, free: 1.152 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005582/0.3574, allocations: 357.5 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3574, allocations: 8.031 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.3575, allocations: 16.84 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3577, allocations: 162.2 kB / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3577, allocations: 384 / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.3578, allocations: 8.375 kB / 0.5653 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.3579, allocations: 77.78 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.358, allocations: 3.953 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.358, allocations: 4 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.358, allocations: 4 kB / 0.5654 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.3581, allocations: 47.95 kB / 0.5654 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.3586, allocations: 280.3 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3587, allocations: 58.56 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.3588, allocations: 24.78 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.3588, allocations: 4 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.3589, allocations: 34.55 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 2.936e-06/0.3589, allocations: 7.984 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001157/0.36, allocations: 337.8 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3601, allocations: 59.34 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.3603, allocations: 235.6 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3604, allocations: 33.7 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.3605, allocations: 116 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.3605, allocations: 39.64 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.3606, allocations: 29.7 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3607, allocations: 330.8 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3609, allocations: 43.97 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.361, allocations: 47.91 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.3612, allocations: 112.2 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3612, allocations: 4 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003056/0.3615, allocations: 153.5 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3615, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3615, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3615, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3617, allocations: 31.91 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3617, allocations: 0 / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.3617, allocations: 8 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3617, allocations: 4 kB / 0.5673 GB, free: 14.34 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0002064/0.3619, allocations: 142.3 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.362, allocations: 11.91 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.3624, allocations: 191 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.3624, allocations: 3.938 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3624, allocations: 3.938 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3624, allocations: 0 / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.3631, allocations: 438.8 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3631, allocations: 0 / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.3632, allocations: 23.98 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3632, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3632, allocations: 4 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3632, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3632, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.3636, allocations: 264.1 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.3636, allocations: 11.91 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.3636, allocations: 12.03 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.3637, allocations: 8 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.3638, allocations: 15.97 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.3638, allocations: 4 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.364, allocations: 177.1 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.364, allocations: 3.938 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.3642, allocations: 35.92 kB / 0.5686 GB, free: 12.94 MB / 414.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 (13): * Single equations (assignments): 13 * 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.001892/0.3661, allocations: 493.4 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.3665, allocations: 107.9 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3665, allocations: 0 / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3666, allocations: 59.84 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.367, allocations: 34.73 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.3677, allocations: 357.4 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.3678, allocations: 113.5 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.3679, allocations: 19.44 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3679, allocations: 0 / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of Templates: time 0.004726/0.3726, allocations: 2.215 MB / 0.5719 GB, free: 9.723 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.062700705137104]