Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 94.28 kB / 16.98 MB, free: 5.938 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.001321/0.001321, allocations: 183.8 kB / 17.88 MB, free: 5.594 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.52/1.52, allocations: 223.2 MB / 241.8 MB, free: 384 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.2226/0.2226, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004109, allocations: 9.75 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 61.93 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002976/0.1514, allocations: 1.255 MB / 472.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1532, allocations: 0.9454 MB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.1533, allocations: 0 / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.1536, allocations: 23.86 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.154, allocations: 43.77 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.1544, allocations: 87.81 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.1547, allocations: 35.91 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1548, allocations: 11.98 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.1549, allocations: 11.94 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1551, allocations: 31.78 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1551, allocations: 4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.1553, allocations: 27.98 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.1553, allocations: 8 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.1554, allocations: 37.62 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1556, allocations: 67.83 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1556, allocations: 0 / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1556, allocations: 0 / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1556, allocations: 0 / 474 MB, free: 11.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005849/0.1562, allocations: 367.4 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1562, allocations: 8.562 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.1563, allocations: 8 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.1566, allocations: 193.9 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1566, allocations: 7.922 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1566, allocations: 7.953 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.1568, allocations: 63.39 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1568, allocations: 0 / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1569, allocations: 4 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1569, allocations: 0 / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.157, allocations: 27.98 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.1575, allocations: 280.9 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1578, allocations: 50.55 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1578, allocations: 4 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1579, allocations: 34.56 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/0.1579, allocations: 0 / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000774/0.1586, allocations: 161.4 kB / 475.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.1587, allocations: 85.09 kB / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1589, allocations: 133.8 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.159, allocations: 29.7 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.159, allocations: 92.12 kB / 475.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.159, allocations: 15.75 kB / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.1591, allocations: 4 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1592, allocations: 326.8 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.1593, allocations: 23.98 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.1594, allocations: 37.64 kB / 476 MB, free: 9.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.1595, allocations: 32 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1595, allocations: 0 / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000216/0.1597, allocations: 93.52 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1598, allocations: 8 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1598, allocations: 0 / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1598, allocations: 4 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.1599, allocations: 15.98 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1599, allocations: 0 / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.1599, allocations: 4 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.16, allocations: 8 kB / 476.1 MB, free: 8.84 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 (5): * Single equations (assignments): 5 * 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.0001139/0.1601, allocations: 121.7 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.1601, allocations: 7.906 kB / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.1604, allocations: 105.9 kB / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1604, allocations: 0 / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1604, allocations: 4.062 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1605, allocations: 3.984 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.161, allocations: 366.5 kB / 476.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.161, allocations: 0 / 476.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.1611, allocations: 12 kB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1611, allocations: 0 / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1611, allocations: 0 / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1611, allocations: 0 / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1611, allocations: 4 kB / 476.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.1614, allocations: 191.4 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.1615, allocations: 89 kB / 477 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1615, allocations: 0 / 477 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.1616, allocations: 15.94 kB / 477 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.1617, allocations: 7.922 kB / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1617, allocations: 4 kB / 477 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1618, allocations: 103.3 kB / 477.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1618, allocations: 0 / 477.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1621, allocations: 23.98 kB / 477.2 MB, free: 7.695 MB / 350.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 (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.001195/0.1633, allocations: 448.3 kB / 477.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.1635, allocations: 59.97 kB / 477.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1635, allocations: 7.938 kB / 477.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.1636, allocations: 31.92 kB / 477.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.164, allocations: 26.58 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.1644, allocations: 168.8 kB / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1648, allocations: 0.7004 MB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.531e-05/0.1649, allocations: 11.98 kB / 478.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.1649, allocations: 11.44 kB / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1649, allocations: 0 / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of Templates: time 0.004455/0.1694, allocations: 1.285 MB / 479.9 MB, free: 5.082 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches