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.001835/0.001835, allocations: 107.6 kB / 21.19 MB, free: 0.668 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.002337/0.002337, allocations: 207.5 kB / 24.48 MB, free: 3.977 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.646/1.646, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2244/0.2244, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.002117/0.002117, allocations: 67.89 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3331, allocations: 65.48 MB / 0.5582 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00327/0.3364, allocations: 1.664 MB / 0.5598 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3376, allocations: 0.5621 MB / 0.5604 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.3377, allocations: 4 kB / 0.5604 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.3379, allocations: 59.73 kB / 0.5605 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.3383, allocations: 95.64 kB / 0.5605 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.3387, allocations: 183.1 kB / 0.5607 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.339, allocations: 99.67 kB / 0.5608 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3391, allocations: 12.22 kB / 0.5608 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.3392, allocations: 35.84 kB / 0.5609 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3393, allocations: 47.83 kB / 0.5609 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3393, allocations: 7.984 kB / 0.5609 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3394, allocations: 55.98 kB / 0.561 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.3395, allocations: 27.84 kB / 0.561 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.3395, allocations: 23.81 kB / 0.561 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.3397, allocations: 117.9 kB / 0.5611 GB, free: 4.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3398, allocations: 4 kB / 0.5611 GB, free: 4.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3398, allocations: 0 / 0.5611 GB, free: 4.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3398, allocations: 0 / 0.5611 GB, free: 4.504 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.0005492/0.3403, allocations: 347.5 kB / 0.5615 GB, free: 4.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3404, allocations: 12.03 kB / 0.5615 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.3404, allocations: 12.84 kB / 0.5615 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.3406, allocations: 146.2 kB / 0.5616 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.3406, allocations: 384 / 0.5616 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.3406, allocations: 8.312 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.3408, allocations: 77.78 kB / 0.5617 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3409, allocations: 0 / 0.5617 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3409, allocations: 0 / 0.5617 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.3409, allocations: 4 kB / 0.5617 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.341, allocations: 39.97 kB / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.3415, allocations: 268.3 kB / 0.562 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.3417, allocations: 54.55 kB / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.3418, allocations: 29.06 kB / 0.5621 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3418, allocations: 7.938 kB / 0.5621 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.3418, allocations: 30.56 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3418, allocations: 0 / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001529/0.3434, allocations: 429.3 kB / 0.5625 GB, free: 2.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3434, allocations: 59.41 kB / 0.5626 GB, free: 2.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.3436, allocations: 190.2 kB / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3436, allocations: 25.7 kB / 0.5628 GB, free: 2.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.3437, allocations: 104.1 kB / 0.5629 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.3438, allocations: 39.64 kB / 0.5629 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.3438, allocations: 25.7 kB / 0.563 GB, free: 2.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.344, allocations: 326.8 kB / 0.5633 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.3441, allocations: 51.91 kB / 0.5633 GB, free: 2.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3443, allocations: 60 kB / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.3446, allocations: 128.7 kB / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3446, allocations: 0 / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003602/0.3449, allocations: 161.6 kB / 0.5637 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3449, allocations: 7.938 kB / 0.5637 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3449, allocations: 0 / 0.5637 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.345, allocations: 8 kB / 0.5637 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3451, allocations: 27.97 kB / 0.5637 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3451, allocations: 7.875 kB / 0.5637 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.3451, allocations: 4 kB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3452, allocations: 8 kB / 0.5637 GB, free: 1.684 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.0001175/0.3453, allocations: 129.8 kB / 0.5638 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3453, allocations: 11.91 kB / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.3457, allocations: 190.2 kB / 0.564 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.3458, allocations: 4 kB / 0.564 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3458, allocations: 3.938 kB / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3458, allocations: 0 / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007404/0.3465, allocations: 447.6 kB / 0.5645 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3465, allocations: 4.062 kB / 0.5645 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3466, allocations: 32.05 kB / 0.5645 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3466, allocations: 3.938 kB / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3466, allocations: 8 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3466, allocations: 0 / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3466, allocations: 0 / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.3471, allocations: 265.1 kB / 0.5648 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.3471, allocations: 19.84 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.3471, allocations: 11.92 kB / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.3472, allocations: 8 kB / 0.5648 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.3473, allocations: 7.984 kB / 0.5648 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3473, allocations: 8 kB / 0.5648 GB, free: 480 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.3474, allocations: 148 kB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3474, allocations: 0 / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3477, allocations: 27.98 kB / 0.565 GB, free: 304 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.00187/0.3495, allocations: 494 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004148/0.35, allocations: 123.8 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.35, allocations: 8 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.3501, allocations: 63.89 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.3505, allocations: 31.09 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/0.3513, allocations: 329.9 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.3514, allocations: 104.9 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.3515, allocations: 19.42 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3515, allocations: 0 / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Templates: time 0.004511/0.356, allocations: 2.1 MB / 0.5682 GB, free: 13.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/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: 7.999276748858392]