Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009674/0.0009675, allocations: 95.62 kB / 16.99 MB, free: 5.941 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.001197/0.001197, allocations: 181 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.233/0.233, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1571, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002014/0.1592, allocations: 1.302 MB / 472.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006657/0.1598, allocations: 375.5 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.1599, allocations: 4 kB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.1601, allocations: 27.89 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.1602, allocations: 27.91 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1605, allocations: 87.22 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1606, allocations: 51.88 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.1607, allocations: 23.92 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.1608, allocations: 19.92 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1609, allocations: 19.86 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1609, allocations: 8 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.161, allocations: 31.92 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.161, allocations: 19.91 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.161, allocations: 37.64 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1612, allocations: 67.89 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1612, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1612, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1612, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004774/0.1617, allocations: 387.3 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1617, allocations: 12.03 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.1618, allocations: 7.906 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.162, allocations: 198.8 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.162, allocations: 4 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.162, allocations: 4 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1622, allocations: 77.61 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1622, allocations: 3.906 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1622, allocations: 0 / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1622, allocations: 0 / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1623, allocations: 47.97 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.1627, allocations: 312.7 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1629, allocations: 66.55 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1629, allocations: 4.109 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1629, allocations: 34.5 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1629, allocations: 0 / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009785/0.1639, allocations: 333.1 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.164, allocations: 59.39 kB / 475.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1641, allocations: 152.3 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1641, allocations: 29.7 kB / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.1642, allocations: 100.1 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1643, allocations: 43.3 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.1643, allocations: 4 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1644, allocations: 322.8 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.1645, allocations: 39.98 kB / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.244e-05/0.1646, allocations: 43.97 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.183e-05/0.1647, allocations: 39.98 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1647, allocations: 0 / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002558/0.165, allocations: 148.1 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.165, allocations: 4 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.165, allocations: 4 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.165, allocations: 3.938 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1652, allocations: 31.98 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1652, allocations: 0 / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.1652, allocations: 8 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1653, allocations: 7.953 kB / 476 MB, free: 8.973 MB / 350.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.1654, allocations: 130.3 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1654, allocations: 11.81 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.1658, allocations: 163.2 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1658, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1658, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1658, allocations: 4 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/0.1664, allocations: 475.1 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1664, allocations: 3.938 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.1665, allocations: 27.98 kB / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1665, allocations: 0 / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1666, allocations: 11.95 kB / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1666, allocations: 3.984 kB / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1666, allocations: 0 / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.1669, allocations: 254 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.167, allocations: 89 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.167, allocations: 11.95 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.1671, allocations: 8 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.1671, allocations: 7.984 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1671, allocations: 7.938 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.313e-05/0.1672, allocations: 121.1 kB / 477.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1673, allocations: 0 / 477.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1675, allocations: 27.89 kB / 477.3 MB, free: 7.523 MB / 350.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009937/0.1685, allocations: 459.3 kB / 477.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.1688, allocations: 111.8 kB / 477.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1688, allocations: 0 / 477.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1689, allocations: 59.86 kB / 478 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.1692, allocations: 18.02 kB / 478 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.1696, allocations: 266.2 kB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.17, allocations: 0.7042 MB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.17, allocations: 24.53 kB / 479 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.1701, allocations: 15.44 kB / 479 MB, free: 6.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1701, allocations: 0 / 479 MB, free: 6.008 MB / 350.1 MB Notification: Performance of Templates: time 0.003833/0.1739, allocations: 1.369 MB / 480.3 MB, free: 4.648 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches