Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00238/0.002386, allocations: 182.4 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, 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.001187/0.001187, allocations: 97.42 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.6458/0.6458, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006367/0.0006368, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1446, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002445/0.1471, allocations: 1.251 MB / 491.5 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.149, allocations: 0.8635 MB / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.1491, allocations: 0 / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1493, allocations: 27.84 kB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.1495, allocations: 31.84 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1499, allocations: 63.86 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.15, allocations: 39.91 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.1501, allocations: 11.97 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.191e-05/0.1502, allocations: 19.92 kB / 492.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1503, allocations: 11.92 kB / 492.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1504, allocations: 4 kB / 492.5 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1505, allocations: 43.84 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.1506, allocations: 4 kB / 492.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.1506, allocations: 33.7 kB / 492.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1508, allocations: 67.84 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1508, allocations: 0 / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1508, allocations: 0 / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1508, allocations: 4 kB / 492.7 MB, free: 8.73 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.0005333/0.1514, allocations: 375 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1514, allocations: 12.02 kB / 493.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.1515, allocations: 11.86 kB / 493.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1518, allocations: 187 kB / 493.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1518, allocations: 8 kB / 493.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1518, allocations: 4 kB / 493.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.152, allocations: 59.34 kB / 493.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1521, allocations: 3.906 kB / 493.3 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1521, allocations: 4 kB / 493.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1521, allocations: 4 kB / 493.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.1523, allocations: 31.92 kB / 493.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1527, allocations: 261 kB / 493.6 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.153, allocations: 50.5 kB / 493.7 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.153, allocations: 4.078 kB / 493.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1531, allocations: 34.56 kB / 493.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/0.1531, allocations: 0 / 493.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008199/0.1539, allocations: 153.3 kB / 493.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.154, allocations: 81.11 kB / 493.9 MB, free: 7.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1542, allocations: 129.8 kB / 494.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1542, allocations: 25.7 kB / 494.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.1543, allocations: 162.5 kB / 494.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1544, allocations: 15.75 kB / 494.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.1544, allocations: 3.938 kB / 494.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1545, allocations: 314.8 kB / 494.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1546, allocations: 23.98 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1548, allocations: 37.69 kB / 494.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1549, allocations: 23.98 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1549, allocations: 7.969 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003146/0.1553, allocations: 85.61 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1553, allocations: 4 kB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1553, allocations: 3.953 kB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1553, allocations: 0 / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1555, allocations: 20.23 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1555, allocations: 0 / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.1556, allocations: 12 kB / 494.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1556, allocations: 0 / 494.8 MB, free: 6.395 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.0001132/0.1558, allocations: 113.8 kB / 494.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.1558, allocations: 7.906 kB / 494.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.1562, allocations: 101.6 kB / 495 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.1562, allocations: 7.938 kB / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1562, allocations: 0 / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1562, allocations: 4.281 kB / 495 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.1569, allocations: 342.6 kB / 495.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1569, allocations: 0 / 495.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.157, allocations: 19.92 kB / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.157, allocations: 3.953 kB / 495.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.157, allocations: 3.984 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.157, allocations: 0 / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1571, allocations: 0 / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.1574, allocations: 187.4 kB / 495.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.1575, allocations: 89.02 kB / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1575, allocations: 3.953 kB / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1577, allocations: 7.984 kB / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.1577, allocations: 8 kB / 495.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.1577, allocations: 192 / 495.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1579, allocations: 103.8 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1579, allocations: 0 / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.1582, allocations: 27.92 kB / 495.8 MB, free: 5.277 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.001325/0.1596, allocations: 443.9 kB / 496.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.1599, allocations: 51.97 kB / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.16, allocations: 0 / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1601, allocations: 31.92 kB / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1605, allocations: 23.92 kB / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.161, allocations: 198.5 kB / 496.5 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1614, allocations: 0.6887 MB / 497.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.1614, allocations: 15.44 kB / 497.2 MB, free: 3.832 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1614, allocations: 0 / 497.2 MB, free: 3.832 MB / 378.7 MB Notification: Performance of Templates: time 0.004913/0.1664, allocations: 1.563 MB / 498.8 MB, free: 2.27 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches