Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.001603/0.001603, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001838/0.001838, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.61/1.61, 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.2387/0.2387, 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.CombiTable1Ds.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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.002252/0.002252, allocations: 79.86 kB / 0.4924 GB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1436, allocations: 65.99 MB / 0.5568 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003428/0.1471, allocations: 1.63 MB / 0.5584 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1482, allocations: 0.5449 MB / 0.559 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.1482, allocations: 0 / 0.559 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1486, allocations: 123.6 kB / 0.5591 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.1489, allocations: 131.5 kB / 0.5592 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1492, allocations: 95 kB / 0.5593 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1494, allocations: 99.73 kB / 0.5594 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1495, allocations: 11.98 kB / 0.5594 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.907e-05/0.1496, allocations: 47.88 kB / 0.5594 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1498, allocations: 91.7 kB / 0.5595 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1498, allocations: 4 kB / 0.5595 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1499, allocations: 43.98 kB / 0.5596 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.15, allocations: 31.84 kB / 0.5596 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.15, allocations: 39.69 kB / 0.5596 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1502, allocations: 131.4 kB / 0.5598 GB, free: 2.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1503, allocations: 0 / 0.5598 GB, free: 2.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1503, allocations: 0 / 0.5598 GB, free: 2.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1503, allocations: 0 / 0.5598 GB, free: 2.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005993/0.1509, allocations: 434.6 kB / 0.5602 GB, free: 2.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1509, allocations: 8.031 kB / 0.5602 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.151, allocations: 16.84 kB / 0.5602 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1512, allocations: 219.7 kB / 0.5604 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1512, allocations: 8.375 kB / 0.5604 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1512, allocations: 384 / 0.5604 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1514, allocations: 54.25 kB / 0.5605 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1514, allocations: 4.172 kB / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1514, allocations: 7.938 kB / 0.5605 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1514, allocations: 0 / 0.5605 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.1515, allocations: 23.98 kB / 0.5605 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.152, allocations: 304.7 kB / 0.5608 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1521, allocations: 42.56 kB / 0.5608 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.1522, allocations: 20.94 kB / 0.5609 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1522, allocations: 0 / 0.5609 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1522, allocations: 30.56 kB / 0.5609 GB, free: 1.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1522, allocations: 3.938 kB / 0.5609 GB, free: 1.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009435/0.1532, allocations: 245 kB / 0.5611 GB, free: 1.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1532, allocations: 51.41 kB / 0.5612 GB, free: 1.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.1535, allocations: 275.8 kB / 0.5614 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.1535, allocations: 25.7 kB / 0.5615 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.1536, allocations: 116.1 kB / 0.5616 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.1537, allocations: 35.73 kB / 0.5616 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.1537, allocations: 21.72 kB / 0.5616 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1539, allocations: 330.8 kB / 0.5619 GB, free: 440 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.154, allocations: 23.98 kB / 0.562 GB, free: 416 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.154, allocations: 23.98 kB / 0.562 GB, free: 392 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1542, allocations: 64.89 kB / 0.5621 GB, free: 324 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1542, allocations: 4 kB / 0.5621 GB, free: 320 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002416/0.1544, allocations: 105.5 kB / 0.5622 GB, free: 208 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1545, allocations: 7.984 kB / 0.5622 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1545, allocations: 0 / 0.5622 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1545, allocations: 0 / 0.5622 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1546, allocations: 16 kB / 0.5622 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1546, allocations: 3.984 kB / 0.5622 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.1546, allocations: 4 kB / 0.5622 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1547, allocations: 4 kB / 0.5622 GB, free: 172 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.0001167/0.1548, allocations: 141.8 kB / 0.5623 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.1548, allocations: 15.91 kB / 0.5623 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.1551, allocations: 127.7 kB / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1551, allocations: 0 / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1551, allocations: 0 / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1551, allocations: 0 / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.1558, allocations: 427.2 kB / 0.5629 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1558, allocations: 0 / 0.5629 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.1559, allocations: 19.98 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1559, allocations: 0 / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1559, allocations: 7.938 kB / 0.5629 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1559, allocations: 0 / 0.5629 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1559, allocations: 0 / 0.5629 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.1562, allocations: 216.2 kB / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.1562, allocations: 89.02 kB / 0.5632 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1563, allocations: 11.88 kB / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.1563, allocations: 3.984 kB / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1564, allocations: 4 kB / 0.5632 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1564, allocations: 8 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.1566, allocations: 213.5 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1566, allocations: 0 / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1568, allocations: 23.88 kB / 0.5634 GB, free: 14.77 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.001675/0.1585, allocations: 441.9 kB / 0.5639 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.1588, allocations: 67.88 kB / 0.5639 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1588, allocations: 0 / 0.5639 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.1589, allocations: 39.92 kB / 0.564 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1592, allocations: 18.72 kB / 0.564 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.1599, allocations: 345.8 kB / 0.5643 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.1603, allocations: 0.7197 MB / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.1604, allocations: 19.38 kB / 0.565 GB, free: 13.25 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1604, allocations: 0 / 0.565 GB, free: 13.25 MB / 430.1 MB Notification: Performance of Templates: time 0.004331/0.1647, allocations: 1.891 MB / 0.5669 GB, free: 11.36 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.062675373163074]