Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 178.8 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008261/0.0008259, allocations: 94.3 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.43/0.43, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004358, allocations: 16 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1553, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002065/0.1574, allocations: 1.251 MB / 491.5 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005777/0.158, allocations: 283.9 kB / 491.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.158, allocations: 0 / 491.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1584, allocations: 111.8 kB / 491.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1586, allocations: 75.78 kB / 492 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1588, allocations: 59.88 kB / 492 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.159, allocations: 63.81 kB / 492.1 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.1591, allocations: 11.97 kB / 492.1 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.1591, allocations: 35.84 kB / 492.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1592, allocations: 51.88 kB / 492.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1593, allocations: 0 / 492.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.1593, allocations: 31.98 kB / 492.2 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.1594, allocations: 15.92 kB / 492.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.1594, allocations: 41.64 kB / 492.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1596, allocations: 67.89 kB / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1596, allocations: 0 / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.651e-06/0.1596, allocations: 4 kB / 492.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1596, allocations: 0 / 492.3 MB, free: 8.863 MB / 378.7 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.0005812/0.1602, allocations: 403 kB / 492.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1603, allocations: 12.02 kB / 492.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.1603, allocations: 23.75 kB / 492.8 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1606, allocations: 190.9 kB / 492.9 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1606, allocations: 0 / 492.9 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1606, allocations: 4 kB / 493 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1608, allocations: 49.67 kB / 493 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1608, allocations: 0 / 493 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1608, allocations: 8 kB / 493 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1608, allocations: 0 / 493 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/0.1609, allocations: 31.88 kB / 493 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.1613, allocations: 277 kB / 493.3 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1615, allocations: 50.55 kB / 493.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.1616, allocations: 16.86 kB / 493.4 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1616, allocations: 0 / 493.4 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1617, allocations: 30.56 kB / 493.4 MB, free: 7.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1617, allocations: 3.938 kB / 493.4 MB, free: 7.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005858/0.1622, allocations: 169.2 kB / 493.6 MB, free: 7.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.1623, allocations: 51.41 kB / 493.6 MB, free: 7.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1625, allocations: 250.6 kB / 493.9 MB, free: 7.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1626, allocations: 25.7 kB / 493.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.1626, allocations: 108.1 kB / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1627, allocations: 15.75 kB / 494 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1627, allocations: 0 / 494 MB, free: 6.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1628, allocations: 322.8 kB / 494.3 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/0.1629, allocations: 23.98 kB / 494.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.163, allocations: 28.05 kB / 494.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.756e-05/0.163, allocations: 23.98 kB / 494.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.163, allocations: 0 / 494.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000188/0.1632, allocations: 97.42 kB / 494.5 MB, free: 6.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1633, allocations: 7.953 kB / 494.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1633, allocations: 0 / 494.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1633, allocations: 4 kB / 494.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.1634, allocations: 19.92 kB / 494.5 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1634, allocations: 7.938 kB / 494.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.1634, allocations: 7.984 kB / 494.5 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1635, allocations: 0 / 494.5 MB, free: 6.426 MB / 378.7 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.0001174/0.1636, allocations: 126.9 kB / 494.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1636, allocations: 19.8 kB / 494.7 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.1639, allocations: 106.6 kB / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1639, allocations: 0 / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1639, allocations: 0 / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1639, allocations: 8 kB / 494.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.1643, allocations: 358.5 kB / 495.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1643, allocations: 0 / 495.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.1644, allocations: 19.94 kB / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1644, allocations: 4 kB / 495.2 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.1644, allocations: 4.312 kB / 495.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1644, allocations: 0 / 495.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1645, allocations: 8 kB / 495.2 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1647, allocations: 183.4 kB / 495.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.1648, allocations: 96.91 kB / 495.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1648, allocations: 3.953 kB / 495.5 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.1649, allocations: 4 kB / 495.5 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1649, allocations: 7.984 kB / 495.5 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.1649, allocations: 0 / 495.5 MB, free: 5.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1651, allocations: 187.2 kB / 495.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1651, allocations: 0 / 495.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.1653, allocations: 20 kB / 495.7 MB, free: 5.18 MB / 378.7 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.0008938/0.1662, allocations: 404.7 kB / 496.1 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1664, allocations: 51.97 kB / 496.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1665, allocations: 3.938 kB / 496.1 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.1665, allocations: 31.98 kB / 496.2 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1669, allocations: 16.17 kB / 496.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.1674, allocations: 291.2 kB / 496.5 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.1678, allocations: 0.7004 MB / 497.2 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1678, allocations: 15.42 kB / 497.2 MB, free: 3.672 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1678, allocations: 0 / 497.2 MB, free: 3.672 MB / 378.7 MB Notification: Performance of Templates: time 0.003186/0.171, allocations: 1.532 MB / 498.7 MB, free: 2.141 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches