Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27") translateModel(ModelicaTest.Tables.CombiTable1D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01118/0.01118, allocations: 99.83 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001924, allocations: 193.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.1 MB / 222.7 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4246/0.4246, allocations: 43.49 MB / 313.5 MB, free: 8.523 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 70.5 kB / 382 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1476, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.003789/0.1515, allocations: 1.622 MB / 441.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006791/0.1522, allocations: 319.7 kB / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.1522, allocations: 0 / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1526, allocations: 123.8 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1528, allocations: 79.83 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.153, allocations: 83.83 kB / 442 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1532, allocations: 75.81 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1533, allocations: 19.98 kB / 442.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.1534, allocations: 47.81 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1535, allocations: 75.8 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1536, allocations: 0 / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.1536, allocations: 27.98 kB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.1537, allocations: 23.92 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.1538, allocations: 43.66 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.154, allocations: 99.94 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.154, allocations: 0 / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.154, allocations: 3.938 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.154, allocations: 0 / 442.4 MB, free: 12.21 MB / 382.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.0008444/0.1548, allocations: 422.8 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1549, allocations: 8.031 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.1551, allocations: 12.75 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1553, allocations: 215.7 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1553, allocations: 4.375 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1554, allocations: 384 / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1555, allocations: 53.8 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1555, allocations: 4 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1555, allocations: 0 / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1556, allocations: 0 / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.1557, allocations: 27.92 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.1561, allocations: 292.9 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.1565, allocations: 46.55 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.1565, allocations: 16.86 kB / 443.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1566, allocations: 0 / 443.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1566, allocations: 38.58 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.755e-06/0.1566, allocations: 4 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006214/0.1572, allocations: 161 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.1573, allocations: 51.41 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.1576, allocations: 263.3 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1576, allocations: 25.7 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1577, allocations: 112.1 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.1577, allocations: 23.69 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1578, allocations: 17.72 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.158, allocations: 334.8 kB / 444.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.158, allocations: 19.98 kB / 444.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.1581, allocations: 19.98 kB / 444.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1583, allocations: 48.83 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1583, allocations: 0 / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001904/0.1585, allocations: 101.7 kB / 444.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1585, allocations: 4 kB / 444.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1586, allocations: 4 kB / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1586, allocations: 0 / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.1586, allocations: 15.98 kB / 444.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1587, allocations: 0 / 444.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.1587, allocations: 7.938 kB / 444.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1587, allocations: 0 / 444.7 MB, free: 9.684 MB / 382.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.0002063/0.1589, allocations: 141.8 kB / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.159, allocations: 23.8 kB / 444.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.1592, allocations: 98.88 kB / 445 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001795/0.1594, allocations: 7.938 kB / 445 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.1594, allocations: 3.984 kB / 445 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1594, allocations: 0 / 445 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.16, allocations: 370.5 kB / 445.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1601, allocations: 0 / 445.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.1601, allocations: 15.98 kB / 445.4 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1601, allocations: 0 / 445.4 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1601, allocations: 0 / 445.4 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1601, allocations: 3.938 kB / 445.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1601, allocations: 3.938 kB / 445.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.1604, allocations: 191.3 kB / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.1604, allocations: 85.02 kB / 445.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1605, allocations: 0 / 445.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.1605, allocations: 8.125 kB / 445.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1606, allocations: 11.98 kB / 445.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.1606, allocations: 0 / 445.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1608, allocations: 203.4 kB / 445.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1608, allocations: 0 / 445.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.161, allocations: 23.98 kB / 445.9 MB, free: 8.402 MB / 382.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.0009025/0.1619, allocations: 398.6 kB / 446.3 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.1623, allocations: 55.89 kB / 446.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1623, allocations: 0 / 446.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.1624, allocations: 27.98 kB / 446.4 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1628, allocations: 23.42 kB / 446.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.1633, allocations: 296.4 kB / 446.7 MB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1637, allocations: 0.716 MB / 447.4 MB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.1638, allocations: 20.22 kB / 447.4 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1638, allocations: 15.38 kB / 447.4 MB, free: 6.844 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1638, allocations: 3.938 kB / 447.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of Templates: time 0.004053/0.1679, allocations: 1.097 MB / 448.6 MB, free: 5.742 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches