Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001767/0.001767, allocations: 112.9 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.002161/0.002161, allocations: 210.5 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.626/1.626, allocations: 230.2 MB / 255.2 MB, free: 15.27 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.2322/0.2322, allocations: 46.88 MB / 358.1 MB, free: 10.62 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [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.00223/0.00223, allocations: 79.88 kB / 0.4924 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1477, allocations: 65.98 MB / 0.5568 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003341/0.151, allocations: 1.624 MB / 0.5584 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1521, allocations: 0.5527 MB / 0.559 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.1522, allocations: 0 / 0.559 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.1525, allocations: 131.7 kB / 0.5591 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.1529, allocations: 127.5 kB / 0.5592 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.1533, allocations: 118.8 kB / 0.5593 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.1535, allocations: 95.78 kB / 0.5594 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1536, allocations: 12 kB / 0.5594 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.275e-05/0.1537, allocations: 47.81 kB / 0.5595 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1538, allocations: 103.7 kB / 0.5596 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1538, allocations: 0 / 0.5596 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1539, allocations: 47.98 kB / 0.5596 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.154, allocations: 23.92 kB / 0.5596 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.1541, allocations: 39.66 kB / 0.5597 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1543, allocations: 127.4 kB / 0.5598 GB, free: 2.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1543, allocations: 4 kB / 0.5598 GB, free: 2.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1543, allocations: 0 / 0.5598 GB, free: 2.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1543, allocations: 0 / 0.5598 GB, free: 2.91 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.0006818/0.155, allocations: 442.5 kB / 0.5602 GB, free: 2.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1551, allocations: 12.03 kB / 0.5602 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.1551, allocations: 12.84 kB / 0.5602 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1554, allocations: 219.8 kB / 0.5604 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.1554, allocations: 384 / 0.5604 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1554, allocations: 4.375 kB / 0.5605 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.1556, allocations: 54.23 kB / 0.5605 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1556, allocations: 192 / 0.5605 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1556, allocations: 3.938 kB / 0.5605 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1556, allocations: 8 kB / 0.5605 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1557, allocations: 31.91 kB / 0.5605 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.1562, allocations: 304.8 kB / 0.5608 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1563, allocations: 42.56 kB / 0.5609 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.1564, allocations: 28.88 kB / 0.5609 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1564, allocations: 0 / 0.5609 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1564, allocations: 30.56 kB / 0.5609 GB, free: 1.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1564, allocations: 0 / 0.5609 GB, free: 1.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001001/0.1574, allocations: 265.2 kB / 0.5612 GB, free: 1.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.1575, allocations: 51.41 kB / 0.5612 GB, free: 1.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.1578, allocations: 279.8 kB / 0.5615 GB, free: 0.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1578, allocations: 25.7 kB / 0.5615 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.1579, allocations: 112.1 kB / 0.5616 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1579, allocations: 31.69 kB / 0.5617 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.158, allocations: 21.7 kB / 0.5617 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1581, allocations: 334.8 kB / 0.562 GB, free: 428 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.1582, allocations: 31.98 kB / 0.562 GB, free: 396 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-05/0.1583, allocations: 32.03 kB / 0.5621 GB, free: 364 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1585, allocations: 80.75 kB / 0.5621 GB, free: 280 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1585, allocations: 0 / 0.5621 GB, free: 280 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000257/0.1587, allocations: 117.5 kB / 0.5623 GB, free: 156 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1588, allocations: 14.19 kB / 0.5623 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1588, allocations: 0 / 0.5623 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1588, allocations: 0 / 0.5623 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1589, allocations: 19.98 kB / 0.5623 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1589, allocations: 0 / 0.5623 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.1589, allocations: 4 kB / 0.5623 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1589, allocations: 0 / 0.5623 GB, free: 120 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.0001527/0.1591, allocations: 145.7 kB / 0.5624 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1591, allocations: 15.91 kB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.1595, allocations: 131 kB / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1595, allocations: 0 / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1595, allocations: 4 kB / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1595, allocations: 3.984 kB / 0.5626 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.1601, allocations: 431.2 kB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1601, allocations: 32 / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.1602, allocations: 27.92 kB / 0.563 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1602, allocations: 0 / 0.563 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1602, allocations: 3.938 kB / 0.563 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1602, allocations: 0 / 0.563 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1602, allocations: 4 kB / 0.563 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.1605, allocations: 220.6 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.1605, allocations: 89.02 kB / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1606, allocations: 7.938 kB / 0.5633 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.1606, allocations: 4 kB / 0.5633 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1607, allocations: 7.984 kB / 0.5633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.1607, allocations: 4 kB / 0.5633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.1609, allocations: 217.4 kB / 0.5635 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1609, allocations: 0 / 0.5635 GB, free: 14.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1611, allocations: 19.94 kB / 0.5636 GB, free: 14.7 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.001716/0.1629, allocations: 452.5 kB / 0.564 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.1631, allocations: 75.95 kB / 0.5641 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1631, allocations: 0 / 0.5641 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1632, allocations: 35.91 kB / 0.5641 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1636, allocations: 33.09 kB / 0.5641 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.1643, allocations: 357.8 kB / 0.5645 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1647, allocations: 0.7196 MB / 0.5652 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.1647, allocations: 19.38 kB / 0.5652 GB, free: 13.13 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1647, allocations: 0 / 0.5652 GB, free: 13.13 MB / 430.1 MB Notification: Performance of Templates: time 0.004221/0.169, allocations: 1.953 MB / 0.5671 GB, free: 11.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.086074448889121]