Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001659/0.001659, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 246.4 MB, free: 9.066 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2472/0.2472, allocations: 46.12 MB / 343.7 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 84.78 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1474, allocations: 62.44 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003168/0.1506, allocations: 1.661 MB / 481 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1517, allocations: 0.53 MB / 481.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.1517, allocations: 0 / 481.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.1519, allocations: 19.92 kB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.1522, allocations: 67.81 kB / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1524, allocations: 79.05 kB / 481.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1525, allocations: 59.83 kB / 481.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1527, allocations: 19.92 kB / 481.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.147e-05/0.1527, allocations: 19.88 kB / 481.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.1528, allocations: 27.86 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1528, allocations: 0 / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.1529, allocations: 31.97 kB / 481.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.1529, allocations: 11.94 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.153, allocations: 23.8 kB / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1531, allocations: 79.78 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1531, allocations: 0 / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1532, allocations: 0 / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1532, allocations: 0 / 482 MB, free: 3.012 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.000519/0.1537, allocations: 395.4 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1537, allocations: 8.875 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1538, allocations: 8.844 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.154, allocations: 190.1 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.154, allocations: 4.375 kB / 482.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.154, allocations: 8.312 kB / 482.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1542, allocations: 53.8 kB / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1542, allocations: 0 / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1542, allocations: 0 / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1542, allocations: 0 / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.1543, allocations: 23.98 kB / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1547, allocations: 280.8 kB / 482.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1549, allocations: 42.56 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.155, allocations: 16.94 kB / 483 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.155, allocations: 4 kB / 483 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.155, allocations: 34.56 kB / 483 MB, free: 1.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.155, allocations: 0 / 483 MB, free: 1.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.00057/0.1556, allocations: 145.3 kB / 483.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1557, allocations: 51.41 kB / 483.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1558, allocations: 169.7 kB / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1559, allocations: 25.7 kB / 483.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.1559, allocations: 100.1 kB / 483.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.156, allocations: 19.75 kB / 483.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.156, allocations: 21.7 kB / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1561, allocations: 318.8 kB / 483.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.1562, allocations: 15.98 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.778e-05/0.1563, allocations: 15.98 kB / 483.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1564, allocations: 57.02 kB / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1564, allocations: 0 / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001804/0.1566, allocations: 81.84 kB / 484 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1566, allocations: 7.938 kB / 484 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1567, allocations: 0 / 484 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1567, allocations: 0 / 484 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.1567, allocations: 15.94 kB / 484.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1568, allocations: 4 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.1568, allocations: 11.91 kB / 484.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1568, allocations: 8 kB / 484.1 MB, free: 0.6953 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.143e-05/0.1569, allocations: 113.8 kB / 484.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.1569, allocations: 7.906 kB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.1572, allocations: 89.95 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1572, allocations: 7.938 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1572, allocations: 4 kB / 484.3 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1572, allocations: 3.938 kB / 484.3 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.1576, allocations: 342.5 kB / 484.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1577, allocations: 3.984 kB / 484.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.1577, allocations: 8 kB / 484.7 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1577, allocations: 4 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1577, allocations: 3.938 kB / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1577, allocations: 4 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1578, allocations: 192 / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.158, allocations: 183.4 kB / 484.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.1581, allocations: 85.02 kB / 484.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.1581, allocations: 7.938 kB / 484.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.1582, allocations: 7.984 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.1582, allocations: 4 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1582, allocations: 4 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1584, allocations: 126.4 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1584, allocations: 0 / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1586, allocations: 15.98 kB / 485.1 MB, free: 15.59 MB / 366.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.001428/0.16, allocations: 387.8 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1602, allocations: 59.89 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1603, allocations: 0 / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.1603, allocations: 23.98 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1607, allocations: 19.92 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.1611, allocations: 215.8 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1615, allocations: 0.6887 MB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.654e-05/0.1616, allocations: 15.97 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.1616, allocations: 15.44 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1616, allocations: 0 / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Templates: time 0.003809/0.1654, allocations: 1.08 MB / 487.6 MB, free: 13.18 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches