Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001942/0.001942, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002082/0.002082, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.584/1.584, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2772/0.2772, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.91 kB / 0.4914 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1559, allocations: 65.99 MB / 0.5559 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003421/0.1594, allocations: 1.61 MB / 0.5574 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1617, allocations: 1.171 MB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.1617, allocations: 3.938 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.162, allocations: 27.84 kB / 0.5586 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.1623, allocations: 83.62 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1627, allocations: 115 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1628, allocations: 71.77 kB / 0.5589 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1629, allocations: 11.98 kB / 0.5589 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.163, allocations: 19.94 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1632, allocations: 39.83 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1632, allocations: 4 kB / 0.5589 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1634, allocations: 103.9 kB / 0.559 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.1634, allocations: 11.94 kB / 0.5591 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.1635, allocations: 23.8 kB / 0.5591 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1638, allocations: 143.5 kB / 0.5592 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1638, allocations: 0 / 0.5592 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1638, allocations: 4 kB / 0.5592 GB, free: 1.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1638, allocations: 0 / 0.5592 GB, free: 1.887 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00067/0.1645, allocations: 406.8 kB / 0.5596 GB, free: 1.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1645, allocations: 8.031 kB / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.1646, allocations: 8.891 kB / 0.5596 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1649, allocations: 200.2 kB / 0.5598 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1649, allocations: 4.375 kB / 0.5598 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1649, allocations: 4.375 kB / 0.5598 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1651, allocations: 67.45 kB / 0.5599 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1652, allocations: 0 / 0.5599 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.1652, allocations: 4 kB / 0.5599 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1652, allocations: 0 / 0.5599 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1653, allocations: 23.98 kB / 0.5599 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.1658, allocations: 284.9 kB / 0.5602 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.1661, allocations: 42.5 kB / 0.5602 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.146e-05/0.1661, allocations: 20.94 kB / 0.5602 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1662, allocations: 0 / 0.5602 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1662, allocations: 42.56 kB / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1662, allocations: 0 / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006966/0.1669, allocations: 149.6 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.167, allocations: 77.11 kB / 0.5605 GB, free: 388 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1671, allocations: 149.8 kB / 0.5606 GB, free: 228 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1672, allocations: 25.7 kB / 0.5607 GB, free: 196 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.1672, allocations: 96.14 kB / 0.5608 GB, free: 96 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1672, allocations: 23.8 kB / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.1673, allocations: 17.7 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1674, allocations: 318.8 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.1675, allocations: 23.97 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.1676, allocations: 45.58 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1678, allocations: 56.8 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1678, allocations: 0 / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002146/0.168, allocations: 85.7 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.168, allocations: 6.188 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.168, allocations: 7.984 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.168, allocations: 0 / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.1681, allocations: 11.98 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1681, allocations: 4 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1682, allocations: 4 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1682, allocations: 11.94 kB / 0.5614 GB, free: 15.46 MB / 430.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 (5): * Single equations (assignments): 5 * 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.0002095/0.1684, allocations: 120 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.1684, allocations: 7.953 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.1687, allocations: 93.91 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1687, allocations: 0 / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.1687, allocations: 4 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1687, allocations: 7.984 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.1692, allocations: 358.8 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1692, allocations: 0 / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.1693, allocations: 11.98 kB / 0.5619 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1693, allocations: 0 / 0.5619 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1693, allocations: 4 kB / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.1693, allocations: 7.922 kB / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1693, allocations: 4 kB / 0.5619 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.1696, allocations: 183.5 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.1696, allocations: 85.05 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1697, allocations: 0 / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.1697, allocations: 7.938 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1698, allocations: 11.98 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1698, allocations: 4 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.1699, allocations: 115.2 kB / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1699, allocations: 0 / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1702, allocations: 39.86 kB / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001705/0.1719, allocations: 495.7 kB / 0.5628 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.1722, allocations: 47.97 kB / 0.5629 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1722, allocations: 0 / 0.5629 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.1723, allocations: 39.91 kB / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.1726, allocations: 18.38 kB / 0.5629 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.1731, allocations: 165.5 kB / 0.5631 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1734, allocations: 0.6924 MB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.314e-05/0.1735, allocations: 32 kB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.1736, allocations: 15.38 kB / 0.5638 GB, free: 12.96 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1736, allocations: 0 / 0.5638 GB, free: 12.96 MB / 430.1 MB Notification: Performance of Templates: time 0.005327/0.1789, allocations: 1.775 MB / 0.5656 GB, free: 11.19 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.347019415348768]