Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 109.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2657/0.2657, allocations: 46.89 MB / 358.1 MB, free: 10.52 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003138/0.003138, allocations: 79.88 kB / 0.4924 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1461, allocations: 65.98 MB / 0.5568 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003404/0.1495, allocations: 1.62 MB / 0.5584 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1507, allocations: 0.5527 MB / 0.5589 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.1507, allocations: 0 / 0.5589 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.1511, allocations: 127.7 kB / 0.5591 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.1515, allocations: 131.5 kB / 0.5592 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.1518, allocations: 111.1 kB / 0.5593 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.152, allocations: 99.78 kB / 0.5594 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1521, allocations: 11.98 kB / 0.5594 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.1522, allocations: 43.89 kB / 0.5595 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.1524, allocations: 111.6 kB / 0.5596 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1524, allocations: 0 / 0.5596 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1525, allocations: 51.97 kB / 0.5596 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.1526, allocations: 23.92 kB / 0.5596 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.1526, allocations: 35.62 kB / 0.5597 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1529, allocations: 127.4 kB / 0.5598 GB, free: 2.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1529, allocations: 0 / 0.5598 GB, free: 2.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1529, allocations: 4 kB / 0.5598 GB, free: 2.859 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1529, allocations: 0 / 0.5598 GB, free: 2.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006398/0.1535, allocations: 442.5 kB / 0.5602 GB, free: 2.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1536, allocations: 12.03 kB / 0.5602 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.1536, allocations: 12.84 kB / 0.5602 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1539, allocations: 219.8 kB / 0.5604 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1539, allocations: 8.344 kB / 0.5605 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1539, allocations: 4.375 kB / 0.5605 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1541, allocations: 50.25 kB / 0.5605 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1541, allocations: 192 / 0.5605 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1541, allocations: 7.938 kB / 0.5605 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1541, allocations: 4 kB / 0.5605 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1542, allocations: 31.91 kB / 0.5605 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.1547, allocations: 308.8 kB / 0.5608 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1548, allocations: 42.66 kB / 0.5609 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.1549, allocations: 20.84 kB / 0.5609 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1549, allocations: 7.938 kB / 0.5609 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.155, allocations: 30.56 kB / 0.5609 GB, free: 1.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.155, allocations: 0 / 0.5609 GB, free: 1.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000994/0.156, allocations: 261 kB / 0.5612 GB, free: 1.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.156, allocations: 51.41 kB / 0.5612 GB, free: 1.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.1563, allocations: 275.8 kB / 0.5615 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1563, allocations: 25.7 kB / 0.5615 GB, free: 0.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.1564, allocations: 112.1 kB / 0.5616 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.1565, allocations: 35.8 kB / 0.5617 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.1565, allocations: 17.72 kB / 0.5617 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1567, allocations: 338.8 kB / 0.562 GB, free: 372 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1568, allocations: 31.97 kB / 0.562 GB, free: 340 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.1569, allocations: 27.98 kB / 0.5621 GB, free: 312 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1571, allocations: 76.97 kB / 0.5621 GB, free: 232 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1571, allocations: 0 / 0.5621 GB, free: 232 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002474/0.1573, allocations: 113.6 kB / 0.5622 GB, free: 112 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1573, allocations: 12 kB / 0.5623 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1573, allocations: 0 / 0.5623 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1573, allocations: 0 / 0.5623 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1574, allocations: 15.98 kB / 0.5623 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1575, allocations: 4 kB / 0.5623 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.1575, allocations: 3.984 kB / 0.5623 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1575, allocations: 8 kB / 0.5623 GB, free: 68 kB / 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 (8): * Single equations (assignments): 8 * 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.0001359/0.1576, allocations: 145.6 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.1577, allocations: 23.91 kB / 0.5624 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.158, allocations: 131 kB / 0.5626 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.158, allocations: 0 / 0.5626 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.158, allocations: 0 / 0.5626 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.158, allocations: 4 kB / 0.5626 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.1586, allocations: 427.6 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1587, allocations: 4.031 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.1587, allocations: 15.98 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1587, allocations: 4 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1587, allocations: 7.875 kB / 0.563 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1587, allocations: 3.984 kB / 0.563 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1587, allocations: 4 kB / 0.563 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1591, allocations: 220.2 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.1591, allocations: 92.95 kB / 0.5633 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.1591, allocations: 7.938 kB / 0.5633 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.1592, allocations: 7.984 kB / 0.5633 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.1593, allocations: 4 kB / 0.5633 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1593, allocations: 4 kB / 0.5633 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.1595, allocations: 209.5 kB / 0.5635 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1595, allocations: 4 kB / 0.5635 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1597, allocations: 23.94 kB / 0.5636 GB, free: 14.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001678/0.1614, allocations: 453.6 kB / 0.564 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.1616, allocations: 79.94 kB / 0.5641 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1617, allocations: 0 / 0.5641 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.1618, allocations: 31.92 kB / 0.5641 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1622, allocations: 30.52 kB / 0.5641 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.1628, allocations: 349.8 kB / 0.5645 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1632, allocations: 0.7235 MB / 0.5652 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.1633, allocations: 19.42 kB / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1633, allocations: 0 / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of Templates: time 0.004337/0.1676, allocations: 1.957 MB / 0.5671 GB, free: 11.12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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: 8.006552660139278]