Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008827/0.008827, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001601/0.001601, allocations: 192.8 kB / 16.79 MB, free: 6.242 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.803/1.803, allocations: 205.1 MB / 222.6 MB, free: 4.949 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.4219/0.4219, allocations: 43.49 MB / 313.5 MB, free: 8.625 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.001445/0.001445, allocations: 62.56 kB / 382 MB, free: 9.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1515, allocations: 57.78 MB / 439.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.003301/0.1548, allocations: 1.629 MB / 441.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006951/0.1555, allocations: 347.5 kB / 441.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.1556, allocations: 4 kB / 441.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.1559, allocations: 11.94 kB / 441.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.156, allocations: 35.91 kB / 441.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1563, allocations: 91.81 kB / 441.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1565, allocations: 55.78 kB / 442 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1566, allocations: 16.17 kB / 442 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.1566, allocations: 23.91 kB / 442 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.1567, allocations: 23.86 kB / 442.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1567, allocations: 0 / 442.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1569, allocations: 47.98 kB / 442.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.1569, allocations: 19.91 kB / 442.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.157, allocations: 19.81 kB / 442.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.1572, allocations: 95.98 kB / 442.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1572, allocations: 0 / 442.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1572, allocations: 0 / 442.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1572, allocations: 0 / 442.2 MB, free: 12.71 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005766/0.1578, allocations: 383.3 kB / 442.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1578, allocations: 11.97 kB / 442.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.1579, allocations: 4.938 kB / 442.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1581, allocations: 192.1 kB / 442.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1582, allocations: 384 / 442.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1582, allocations: 4.375 kB / 442.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1584, allocations: 75.2 kB / 442.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1584, allocations: 4 kB / 442.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1584, allocations: 8 kB / 442.9 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1584, allocations: 0 / 442.9 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1585, allocations: 27.97 kB / 442.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.159, allocations: 284.9 kB / 443.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1591, allocations: 42.5 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.1592, allocations: 24.94 kB / 443.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.1592, allocations: 0 / 443.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1593, allocations: 34.56 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1593, allocations: 0 / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000651/0.1599, allocations: 153.3 kB / 443.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.16, allocations: 81.11 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1602, allocations: 137.7 kB / 443.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1602, allocations: 29.7 kB / 443.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.1603, allocations: 88.12 kB / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1603, allocations: 19.8 kB / 443.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.1603, allocations: 17.72 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1605, allocations: 322.8 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.1605, allocations: 19.98 kB / 444.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.1606, allocations: 41.7 kB / 444.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1608, allocations: 60.95 kB / 444.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1608, allocations: 0 / 444.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001982/0.161, allocations: 89.56 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.161, allocations: 4 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.161, allocations: 8.031 kB / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1611, allocations: 0 / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1612, allocations: 11.98 kB / 444.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1612, allocations: 4 kB / 444.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.1612, allocations: 7.984 kB / 444.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1613, allocations: 11.88 kB / 444.4 MB, free: 10.3 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 (6): * Single equations (assignments): 6 * 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.0001099/0.1614, allocations: 113.8 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1614, allocations: 11.84 kB / 444.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1617, allocations: 106 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1617, allocations: 288 / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1617, allocations: 4 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1617, allocations: 0 / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.1622, allocations: 370.4 kB / 445 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1623, allocations: 0 / 445 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.1623, allocations: 12 kB / 445 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1623, allocations: 0 / 445 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1624, allocations: 8.172 kB / 445 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1624, allocations: 11.88 kB / 445 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1624, allocations: 0 / 445 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1626, allocations: 183.4 kB / 445.2 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.1627, allocations: 85.02 kB / 445.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1627, allocations: 4 kB / 445.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.1628, allocations: 15.88 kB / 445.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1629, allocations: 7.984 kB / 445.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1629, allocations: 0 / 445.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.544e-05/0.163, allocations: 103.3 kB / 445.4 MB, free: 9.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.163, allocations: 0 / 445.4 MB, free: 9.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1632, allocations: 27.98 kB / 445.4 MB, free: 9.156 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 (6): * Single equations (assignments): 6 * 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.0009932/0.1642, allocations: 450.1 kB / 445.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1644, allocations: 59.95 kB / 445.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1645, allocations: 0 / 445.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.221e-05/0.1645, allocations: 31.92 kB / 446 MB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1649, allocations: 19.92 kB / 446 MB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.1653, allocations: 179.3 kB / 446.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1656, allocations: 0.6887 MB / 446.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.1657, allocations: 15.98 kB / 446.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.1658, allocations: 19.42 kB / 446.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.775e-06/0.1658, allocations: 0 / 446.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of Templates: time 0.004277/0.1701, allocations: 1.416 MB / 448.3 MB, free: 6.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches