Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001537/0.001537, 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.001787/0.001787, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.498/1.498, 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.2356/0.2356, allocations: 44.94 MB / 358.8 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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [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.002128/0.002128, allocations: 71.89 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.36, allocations: 65.48 MB / 0.5575 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00394/0.3639, allocations: 1.66 MB / 0.5591 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3653, allocations: 0.566 MB / 0.5597 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.3653, allocations: 4 kB / 0.5597 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.3657, allocations: 55.78 kB / 0.5597 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.3661, allocations: 99.59 kB / 0.5598 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.3667, allocations: 179.4 kB / 0.56 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.3669, allocations: 95.73 kB / 0.5601 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.367, allocations: 16.22 kB / 0.5601 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.3671, allocations: 43.78 kB / 0.5601 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3672, allocations: 51.77 kB / 0.5602 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.3672, allocations: 4 kB / 0.5602 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3674, allocations: 51.97 kB / 0.5602 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.044e-05/0.3674, allocations: 27.91 kB / 0.5603 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.3675, allocations: 23.81 kB / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3677, allocations: 117.9 kB / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3677, allocations: 0 / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3677, allocations: 0 / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3677, allocations: 0 / 0.5604 GB, free: 4.488 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.0005904/0.3683, allocations: 345.6 kB / 0.5607 GB, free: 4.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3684, allocations: 11.97 kB / 0.5607 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.3684, allocations: 16.84 kB / 0.5608 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3686, allocations: 142.3 kB / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3686, allocations: 8.375 kB / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.3687, allocations: 384 / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.3689, allocations: 77.72 kB / 0.561 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3689, allocations: 0 / 0.561 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3689, allocations: 8 kB / 0.561 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3689, allocations: 0 / 0.561 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.369, allocations: 35.97 kB / 0.561 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.3695, allocations: 268.3 kB / 0.5613 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3698, allocations: 62.55 kB / 0.5613 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.3699, allocations: 24.97 kB / 0.5613 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3699, allocations: 0 / 0.5613 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3699, allocations: 34.66 kB / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.3699, allocations: 7.938 kB / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001556/0.3715, allocations: 425 kB / 0.5618 GB, free: 2.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3715, allocations: 55.41 kB / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.3718, allocations: 190.1 kB / 0.562 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3718, allocations: 33.7 kB / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.3719, allocations: 96.14 kB / 0.5622 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.3719, allocations: 39.64 kB / 0.5622 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.372, allocations: 33.64 kB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3721, allocations: 322.8 kB / 0.5625 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3723, allocations: 47.97 kB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3724, allocations: 63.95 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.3727, allocations: 124.7 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3727, allocations: 0.5625 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003559/0.3731, allocations: 165.8 kB / 0.5629 GB, free: 1.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3731, allocations: 8 kB / 0.5629 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3731, allocations: 4 kB / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3731, allocations: 0 / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3732, allocations: 27.98 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.3732, allocations: 11.92 kB / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.3733, allocations: 8 kB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3733, allocations: 4 kB / 0.563 GB, free: 1.664 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 (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.0001266/0.3734, allocations: 129.8 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3735, allocations: 15.91 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.374, allocations: 190.3 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.374, allocations: 0 / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.374, allocations: 3.938 kB / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.374, allocations: 0 / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007343/0.3747, allocations: 451.6 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3747, allocations: 0 / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3748, allocations: 23.98 kB / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3748, allocations: 7.938 kB / 0.5638 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3748, allocations: 7.938 kB / 0.5638 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3748, allocations: 0 / 0.5638 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3748, allocations: 4 kB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.3753, allocations: 265.1 kB / 0.564 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.3753, allocations: 19.88 kB / 0.564 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3753, allocations: 7.984 kB / 0.5641 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.3754, allocations: 8.094 kB / 0.5641 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.3754, allocations: 15.86 kB / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.3755, allocations: 4 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.3756, allocations: 148 kB / 0.5642 GB, free: 312 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3756, allocations: 3.938 kB / 0.5642 GB, free: 308 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3759, allocations: 24 kB / 0.5642 GB, free: 284 kB / 398.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.001901/0.3778, allocations: 494.4 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004164/0.3782, allocations: 123.9 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3782, allocations: 0 / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3784, allocations: 67.89 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3788, allocations: 24.5 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.3795, allocations: 320 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.3796, allocations: 108.9 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.819e-05/0.3797, allocations: 36.31 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.3797, allocations: 19.42 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3797, allocations: 0 / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Templates: time 0.004932/0.3847, allocations: 1.681 MB / 0.567 GB, free: 13.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.169798120856285]