Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.002099/0.002099, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002058/0.002058, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2751/0.2751, allocations: 44.94 MB / 358.8 MB, free: 6.086 MB / 286.1 MB " [Timeout remaining time 179] 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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") [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.002302/0.002302, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3564, allocations: 65.47 MB / 0.5575 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003386/0.3598, allocations: 1.671 MB / 0.5591 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3609, allocations: 0.5622 MB / 0.5597 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.3609, allocations: 7.938 kB / 0.5597 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.3612, allocations: 55.78 kB / 0.5597 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.3615, allocations: 99.58 kB / 0.5598 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.3619, allocations: 179.3 kB / 0.56 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3621, allocations: 91.73 kB / 0.5601 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3622, allocations: 24.22 kB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.191e-05/0.3623, allocations: 31.86 kB / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3624, allocations: 51.75 kB / 0.5602 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3624, allocations: 4 kB / 0.5602 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3625, allocations: 43.98 kB / 0.5602 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.3626, allocations: 35.91 kB / 0.5603 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.3626, allocations: 19.81 kB / 0.5603 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3628, allocations: 121.9 kB / 0.5604 GB, free: 4.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3628, allocations: 4 kB / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3628, allocations: 0 / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.3629, 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.0005143/0.3634, allocations: 348 kB / 0.5607 GB, free: 4.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3634, allocations: 8.031 kB / 0.5607 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.3634, allocations: 12.84 kB / 0.5607 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.3636, allocations: 142.4 kB / 0.5609 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3637, allocations: 8.375 kB / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.3637, allocations: 4.375 kB / 0.5609 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.3639, allocations: 73.72 kB / 0.561 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3639, allocations: 0 / 0.561 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3639, allocations: 4 kB / 0.561 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3639, allocations: 0 / 0.561 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.364, allocations: 43.89 kB / 0.561 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.3645, allocations: 272.3 kB / 0.5613 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3647, allocations: 58.48 kB / 0.5613 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.3648, allocations: 24.97 kB / 0.5613 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3648, allocations: 0 / 0.5613 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3648, allocations: 38.56 kB / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3648, allocations: 0 / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001524/0.3664, allocations: 425 kB / 0.5618 GB, free: 2.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3664, allocations: 51.41 kB / 0.5618 GB, free: 2.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.3666, allocations: 194.2 kB / 0.562 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.3666, allocations: 25.7 kB / 0.562 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.3667, allocations: 100.1 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.3668, allocations: 39.64 kB / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.3668, allocations: 25.72 kB / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3669, allocations: 322.8 kB / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.3671, allocations: 63.95 kB / 0.5626 GB, free: 2.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.3672, allocations: 51.95 kB / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.3675, allocations: 129.3 kB / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3675, allocations: 0 / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003525/0.3679, allocations: 165.5 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3679, allocations: 4 kB / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3679, allocations: 3.984 kB / 0.5629 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3679, allocations: 0 / 0.5629 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.368, allocations: 27.98 kB / 0.5629 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.368, allocations: 7.938 kB / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.3681, allocations: 7.984 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3681, allocations: 7.984 kB / 0.563 GB, free: 1.68 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.0001137/0.3682, allocations: 137.8 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.3683, allocations: 11.91 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.3687, allocations: 186.7 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3687, allocations: 0 / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3687, allocations: 3.938 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3687, allocations: 7.984 kB / 0.5633 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.3694, allocations: 439.6 kB / 0.5637 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3694, allocations: 0 / 0.5637 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.3695, allocations: 27.98 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3695, allocations: 4.031 kB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3696, allocations: 11.92 kB / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3696, allocations: 4 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3696, allocations: 0 / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.37, allocations: 277.1 kB / 0.564 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.37, allocations: 15.84 kB / 0.564 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.37, allocations: 4 kB / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3701, allocations: 11.98 kB / 0.5641 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3702, allocations: 7.984 kB / 0.5641 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.3702, allocations: 4 kB / 0.5641 GB, free: 476 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.3703, allocations: 148 kB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3703, allocations: 0 / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.3706, allocations: 28 kB / 0.5642 GB, free: 300 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.001854/0.3724, allocations: 497.7 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.3728, allocations: 127.8 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3728, allocations: 0 / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.373, 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.0003654/0.3733, allocations: 21.55 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.0006392/0.374, allocations: 308.3 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.3741, allocations: 116.8 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.144e-05/0.3742, allocations: 32.33 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.3742, allocations: 23.38 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3742, allocations: 0 / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Templates: time 0.004738/0.3789, allocations: 1.679 MB / 0.567 GB, free: 13.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.300893183797598]