Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 179.4 kB / 16.41 MB, free: 5.707 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.737/1.737, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008219/0.000822, allocations: 97.11 kB / 270.9 MB, free: 8.359 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.3959/0.3959, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006392/0.0006393, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1491, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002168/0.1513, allocations: 1.255 MB / 491.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005916/0.1519, allocations: 287.8 kB / 491.8 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.1521, allocations: 0 / 491.8 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1524, allocations: 67.83 kB / 491.8 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1526, allocations: 59.81 kB / 491.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.1528, allocations: 59.92 kB / 492 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.153, allocations: 51.84 kB / 492 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.1532, allocations: 27.88 kB / 492 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1533, allocations: 23.86 kB / 492.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1535, allocations: 39.89 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1535, allocations: 0 / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1536, allocations: 27.94 kB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.1537, allocations: 11.98 kB / 492.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.1538, allocations: 33.64 kB / 492.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.154, allocations: 63.91 kB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.154, allocations: 0 / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.154, allocations: 0 / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.154, allocations: 0 / 492.2 MB, free: 9.219 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.0007452/0.1547, allocations: 395.2 kB / 492.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.1548, allocations: 12.02 kB / 492.6 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.1549, allocations: 15.86 kB / 492.6 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.1552, allocations: 194.7 kB / 492.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1553, allocations: 8 kB / 492.8 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1553, allocations: 0 / 492.8 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1555, allocations: 45.69 kB / 492.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1556, allocations: 3.906 kB / 492.9 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1556, allocations: 0 / 492.9 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1556, allocations: 0 / 492.9 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1557, allocations: 35.94 kB / 492.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.1563, allocations: 280.9 kB / 493.2 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1566, allocations: 38.56 kB / 493.2 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.1567, allocations: 16.86 kB / 493.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.1568, allocations: 4 kB / 493.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1568, allocations: 34.56 kB / 493.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.1568, allocations: 0 / 493.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007364/0.1576, allocations: 161.3 kB / 493.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.1577, allocations: 55.39 kB / 493.5 MB, free: 7.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1579, allocations: 186.2 kB / 493.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1579, allocations: 25.7 kB / 493.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.158, allocations: 108 kB / 493.8 MB, free: 7.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.158, allocations: 11.81 kB / 493.8 MB, free: 7.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.158, allocations: 4 kB / 493.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1582, allocations: 322.8 kB / 494.1 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.1583, allocations: 23.92 kB / 494.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.1583, allocations: 23.98 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.1584, allocations: 23.98 kB / 494.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1584, allocations: 0 / 494.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002049/0.1586, allocations: 89.58 kB / 494.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1587, allocations: 7.953 kB / 494.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1587, allocations: 3.938 kB / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1587, allocations: 0 / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.1588, allocations: 20.23 kB / 494.3 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1588, allocations: 3.938 kB / 494.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.1589, allocations: 15.98 kB / 494.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.1589, allocations: 0 / 494.4 MB, free: 6.871 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 9.803e-05/0.159, allocations: 121.8 kB / 494.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.159, allocations: 7.906 kB / 494.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.1593, allocations: 109.9 kB / 494.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1593, allocations: 0 / 494.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1593, allocations: 4 kB / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1593, allocations: 0 / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.1598, allocations: 362.4 kB / 494.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1598, allocations: 0 / 494.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.1599, allocations: 19.94 kB / 495 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1599, allocations: 0 / 495 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1599, allocations: 0 / 495 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1599, allocations: 4 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.1599, allocations: 288 / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.1603, allocations: 191.4 kB / 495.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.1603, allocations: 85 kB / 495.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1604, allocations: 3.953 kB / 495.2 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.1605, allocations: 15.98 kB / 495.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.1605, allocations: 4 kB / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1605, allocations: 4.188 kB / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1607, allocations: 147.9 kB / 495.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1607, allocations: 0 / 495.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000266/0.161, allocations: 16 kB / 495.4 MB, free: 5.691 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.0008773/0.1619, allocations: 400.7 kB / 495.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1621, allocations: 55.97 kB / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1621, allocations: 0 / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.1622, allocations: 31.92 kB / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1625, allocations: 23.86 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.163, allocations: 242.8 kB / 496.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1633, allocations: 0.7004 MB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.1633, allocations: 11.44 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1633, allocations: 4 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of Templates: time 0.003186/0.1665, allocations: 1.435 MB / 498.3 MB, free: 2.781 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches