Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 94.92 kB / 16.99 MB, free: 6.07 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.001328/0.001328, allocations: 184.8 kB / 17.88 MB, free: 5.691 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.456/1.456, allocations: 223.2 MB / 241.8 MB, free: 352 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.2338/0.2338, allocations: 44.22 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 16.8 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 61.93 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.00234/0.1539, allocations: 1.306 MB / 472.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.1546, allocations: 375.5 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.1547, allocations: 0 / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.155, allocations: 87.81 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.1552, allocations: 59.78 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1554, allocations: 75.84 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1556, allocations: 59.86 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1557, allocations: 19.98 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.997e-05/0.1558, allocations: 31.91 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.1559, allocations: 43.83 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1559, allocations: 7.938 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.156, allocations: 24 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.156, allocations: 27.89 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.1561, allocations: 37.64 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1562, allocations: 83.86 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1563, allocations: 0 / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1563, allocations: 4 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1563, allocations: 0 / 473.7 MB, free: 11.52 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.0004713/0.1568, allocations: 418.9 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1568, allocations: 8.031 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.1568, allocations: 15.91 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.1571, allocations: 202.8 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1571, allocations: 7.984 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1571, allocations: 8 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1573, allocations: 69.62 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1573, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1573, allocations: 7.938 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1573, allocations: 4 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1575, allocations: 39.97 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1579, allocations: 332.6 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1581, allocations: 66.48 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1581, allocations: 0 / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1581, allocations: 34.56 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1581, allocations: 0 / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00106/0.1592, allocations: 325.6 kB / 475.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1593, allocations: 59.39 kB / 475.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.1595, allocations: 235.2 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1595, allocations: 25.7 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.1596, allocations: 124 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.1597, allocations: 43.31 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1597, allocations: 0 / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1598, allocations: 330.8 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.106e-05/0.1599, allocations: 35.98 kB / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.16, allocations: 43.97 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/0.1601, allocations: 46.5 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1601, allocations: 0 / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002425/0.1604, allocations: 133.6 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1604, allocations: 11.98 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1604, allocations: 4 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1604, allocations: 0 / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1606, allocations: 31.92 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1606, allocations: 240 / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.1607, allocations: 8 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1607, allocations: 8.062 kB / 476.3 MB, free: 8.676 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.000114/0.1608, allocations: 134.3 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.1608, allocations: 19.81 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.1612, allocations: 175 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1612, allocations: 4 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1612, allocations: 0 / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1612, allocations: 3.984 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.1619, allocations: 491 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1619, allocations: 0 / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.162, allocations: 32.02 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.162, allocations: 0 / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.162, allocations: 11.95 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1621, allocations: 0 / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1621, allocations: 3.938 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.1624, allocations: 255.3 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.1625, allocations: 92.91 kB / 477.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1625, allocations: 11.95 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1626, allocations: 4 kB / 477.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.1626, allocations: 7.984 kB / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1627, allocations: 16 kB / 477.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.1628, allocations: 175.2 kB / 477.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1628, allocations: 0 / 477.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1631, allocations: 24 kB / 477.7 MB, free: 7.133 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.00111/0.1642, allocations: 448.3 kB / 478.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.1645, allocations: 103.9 kB / 478.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1645, allocations: 0 / 478.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1646, allocations: 59.98 kB / 478.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.165, allocations: 15.97 kB / 478.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.1657, allocations: 334.9 kB / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.1661, allocations: 0.716 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.1662, allocations: 20.53 kB / 479.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.1662, allocations: 19.44 kB / 479.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1663, allocations: 0 / 479.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of Templates: time 0.004942/0.1712, allocations: 1.401 MB / 480.8 MB, free: 4.164 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches