Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001328/0.001328, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001528/0.001528, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2255/0.2255, allocations: 44.94 MB / 358.8 MB, free: 6.043 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [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.002143/0.002143, allocations: 63.91 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3618, allocations: 65.49 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003877/0.3657, allocations: 1.668 MB / 0.5591 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3668, allocations: 0.5349 MB / 0.5596 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.3669, allocations: 4 kB / 0.5596 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007296/0.3676, allocations: 463.1 kB / 0.5601 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.3682, allocations: 291.3 kB / 0.5604 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.3687, allocations: 139.1 kB / 0.5605 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.369, allocations: 179.6 kB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3691, allocations: 12.22 kB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.3693, allocations: 111.7 kB / 0.5608 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.3697, allocations: 251.5 kB / 0.561 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.3697, allocations: 4 kB / 0.561 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.3698, allocations: 63.91 kB / 0.5611 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.37, allocations: 83.69 kB / 0.5612 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.3701, allocations: 71.19 kB / 0.5612 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.3705, allocations: 281 kB / 0.5615 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3705, allocations: 0 / 0.5615 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3705, allocations: 0 / 0.5615 GB, free: 3.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.3705, allocations: 0 / 0.5615 GB, free: 3.328 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009394/0.3714, allocations: 0.597 MB / 0.5621 GB, free: 2.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3715, allocations: 8.031 kB / 0.5621 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.3716, allocations: 48.61 kB / 0.5621 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.3719, allocations: 250.8 kB / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3719, allocations: 384 / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.3719, allocations: 8.375 kB / 0.5624 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3721, allocations: 65.73 kB / 0.5624 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3721, allocations: 0 / 0.5624 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3722, allocations: 7.984 kB / 0.5625 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3722, allocations: 0 / 0.5625 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3723, allocations: 39.97 kB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.3728, allocations: 344.3 kB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.3731, allocations: 54.58 kB / 0.5629 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.3732, allocations: 24.97 kB / 0.5629 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3732, allocations: 4 kB / 0.5629 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3732, allocations: 30.56 kB / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3732, allocations: 3.938 kB / 0.5629 GB, free: 1.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001475/0.3747, allocations: 476.2 kB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.3747, allocations: 55.41 kB / 0.5634 GB, free: 1.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/0.3756, allocations: 0.8652 MB / 0.5643 GB, free: 336 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3756, allocations: 25.7 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.3758, allocations: 220 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.3758, allocations: 35.69 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.3759, allocations: 29.7 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3761, allocations: 358.8 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3762, allocations: 43.97 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3763, allocations: 48.52 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.3766, allocations: 92.81 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3766, allocations: 0 / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003362/0.3769, allocations: 185.2 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3769, allocations: 4 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3769, allocations: 8 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.377, allocations: 0 / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3771, allocations: 23.98 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3771, allocations: 3.938 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.3772, allocations: 15.98 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3772, allocations: 0 / 0.5653 GB, free: 15.22 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 (11): * Single equations (assignments): 11 * 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.000217/0.3774, allocations: 221.8 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.3775, allocations: 43.67 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.3779, allocations: 197.4 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3779, allocations: 4 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3779, allocations: 7.875 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3779, allocations: 0 / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.3787, allocations: 0.5074 MB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3787, allocations: 0 / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.3788, allocations: 31.97 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.3788, allocations: 3.938 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3788, allocations: 3.984 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3788, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3788, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.3792, allocations: 285.6 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.3792, allocations: 43.59 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.3793, allocations: 4 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3794, allocations: 11.98 kB / 0.5667 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3794, allocations: 7.984 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.3794, allocations: 7.938 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006547/0.3801, allocations: 0.6511 MB / 0.5673 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3801, allocations: 0 / 0.5673 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3804, allocations: 47.88 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001816/0.3822, allocations: 497.2 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.3825, allocations: 103.9 kB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3825, allocations: 0 / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3826, allocations: 59.83 kB / 0.568 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.3831, allocations: 38.05 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3843, allocations: 0.8475 MB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3846, allocations: 232.7 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.3846, allocations: 12.48 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.3847, allocations: 15.44 kB / 0.5691 GB, free: 11.44 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3847, allocations: 4 kB / 0.5691 GB, free: 11.44 MB / 414.1 MB Notification: Performance of Templates: time 0.005971/0.3906, allocations: 2.07 MB / 0.5711 GB, free: 9.379 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.215423781424761]