Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001158, allocations: 206.4 kB / 16.79 MB, free: 6.84 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.781/1.781, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.3727/0.3727, allocations: 43.51 MB / 313.5 MB, free: 8.457 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: 71.91 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1475, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.003323/0.1509, allocations: 1.606 MB / 441.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006931/0.1516, allocations: 327.5 kB / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.1517, allocations: 0 / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.152, allocations: 63.84 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1522, allocations: 55.88 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1524, allocations: 91.83 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1526, allocations: 63.83 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1527, allocations: 19.95 kB / 442 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.1527, allocations: 23.86 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1528, allocations: 43.89 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1529, allocations: 4 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.1529, allocations: 31.98 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.153, allocations: 11.94 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.1531, allocations: 27.8 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1533, allocations: 91.88 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1533, allocations: 0 / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1533, allocations: 0 / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1533, allocations: 0 / 442.3 MB, free: 12.39 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.000666/0.154, allocations: 387.1 kB / 442.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.1541, allocations: 12.03 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.1541, allocations: 12.78 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.1544, allocations: 204 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1544, allocations: 384 / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.1545, allocations: 4.375 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1546, allocations: 49.81 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1547, allocations: 7.922 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1547, allocations: 4 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1547, allocations: 0 / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1548, allocations: 23.98 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.1554, allocations: 288.8 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.1557, allocations: 46.5 kB / 443.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.1557, allocations: 16.94 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.1558, allocations: 4 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1558, allocations: 38.5 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1558, allocations: 0 / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006765/0.1565, allocations: 145.3 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1566, allocations: 55.41 kB / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.1568, allocations: 194.2 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1568, allocations: 29.7 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.1569, allocations: 104 kB / 443.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.157, allocations: 15.81 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.157, allocations: 17.72 kB / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1572, allocations: 322.8 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.752e-05/0.1573, allocations: 19.98 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1574, allocations: 23.97 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1575, allocations: 56.83 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1575, allocations: 0 / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001988/0.1577, allocations: 85.52 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1578, allocations: 4 kB / 444.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1578, allocations: 3.984 kB / 444.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1578, allocations: 0 / 444.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.1579, allocations: 12 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1579, allocations: 4 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.158, allocations: 8.234 kB / 444.4 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.158, allocations: 11.94 kB / 444.4 MB, free: 9.992 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.0001239/0.1581, allocations: 125.7 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.1581, allocations: 12.17 kB / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.1584, allocations: 97.91 kB / 444.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1584, allocations: 3.984 kB / 444.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1585, allocations: 4 kB / 444.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1585, allocations: 4 kB / 444.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.159, allocations: 350.5 kB / 445 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.159, allocations: 4 kB / 445 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.159, allocations: 19.92 kB / 445 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.159, allocations: 0 / 445 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1591, allocations: 0 / 445 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1591, allocations: 7.938 kB / 445 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1591, allocations: 4 kB / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1593, allocations: 179.3 kB / 445.2 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.1594, allocations: 85.02 kB / 445.3 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1594, allocations: 0 / 445.3 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.1595, allocations: 15.92 kB / 445.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.1596, allocations: 4 kB / 445.3 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1596, allocations: 4 kB / 445.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1597, allocations: 148 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1597, allocations: 3.938 kB / 445.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1599, allocations: 12 kB / 445.5 MB, free: 8.824 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.0008914/0.1608, allocations: 413.6 kB / 445.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.161, allocations: 51.97 kB / 445.9 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1611, allocations: 0 / 445.9 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.1611, allocations: 27.97 kB / 446 MB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1615, allocations: 23.97 kB / 446 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.162, allocations: 231.7 kB / 446.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1624, allocations: 0.6965 MB / 446.9 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.01e-05/0.1624, allocations: 15.92 kB / 446.9 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.1625, allocations: 11.44 kB / 447 MB, free: 7.344 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1625, allocations: 0 / 447 MB, free: 7.344 MB / 382.1 MB Notification: Performance of Templates: time 0.004276/0.1668, allocations: 1.07 MB / 448 MB, free: 6.273 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches