Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001682/0.001682, allocations: 179.3 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.709/1.709, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008643/0.0008643, allocations: 93.05 kB / 270.9 MB, free: 8.352 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.4089/0.4089, allocations: 43.56 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003836, allocations: 16 kB / 431.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 58.85 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001859/0.1354, allocations: 1.259 MB / 491.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004798/0.1359, allocations: 283.9 kB / 491.8 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.136, allocations: 0 / 491.8 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1362, allocations: 91.8 kB / 491.9 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.1364, allocations: 59.8 kB / 491.9 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.1366, allocations: 63.86 kB / 492 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.1367, allocations: 63.81 kB / 492.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.1368, allocations: 15.98 kB / 492.1 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.1369, allocations: 27.91 kB / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.989e-05/0.137, allocations: 39.83 kB / 492.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.137, allocations: 4 kB / 492.1 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.1371, allocations: 23.98 kB / 492.2 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.1371, allocations: 19.92 kB / 492.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.1372, allocations: 37.64 kB / 492.2 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1373, allocations: 67.89 kB / 492.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1373, allocations: 0 / 492.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1373, allocations: 0 / 492.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1373, allocations: 4 kB / 492.3 MB, free: 8.891 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.0004574/0.1378, allocations: 391.2 kB / 492.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1378, allocations: 19.95 kB / 492.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.1378, allocations: 11.86 kB / 492.7 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.138, allocations: 191.5 kB / 492.9 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.138, allocations: 4 kB / 492.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1381, allocations: 4 kB / 492.9 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1382, allocations: 49.69 kB / 492.9 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1382, allocations: 3.906 kB / 493 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.1382, allocations: 0 / 493 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.1382, allocations: 4 kB / 493 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.1383, allocations: 31.92 kB / 493 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.1387, allocations: 277 kB / 493.3 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1389, allocations: 50.5 kB / 493.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.1389, allocations: 20.94 kB / 493.3 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1389, allocations: 0 / 493.3 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.139, allocations: 34.56 kB / 493.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.139, allocations: 0 / 493.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000557/0.1396, allocations: 169.1 kB / 493.5 MB, free: 7.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.1396, allocations: 55.41 kB / 493.6 MB, free: 7.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1398, allocations: 222.3 kB / 493.8 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1398, allocations: 25.7 kB / 493.8 MB, free: 7.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.1399, allocations: 108.1 kB / 493.9 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.1399, allocations: 15.66 kB / 493.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.1399, allocations: 0 / 493.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.14, allocations: 322.8 kB / 494.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.1401, allocations: 27.98 kB / 494.3 MB, free: 6.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/0.1402, allocations: 27.98 kB / 494.3 MB, free: 6.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.1403, allocations: 23.98 kB / 494.3 MB, free: 6.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1403, allocations: 3.938 kB / 494.3 MB, free: 6.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.1405, allocations: 93.58 kB / 494.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1405, allocations: 7.953 kB / 494.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1405, allocations: 0 / 494.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1405, allocations: 0 / 494.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.1406, allocations: 15.98 kB / 494.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1406, allocations: 0 / 494.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.1406, allocations: 11.94 kB / 494.5 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1407, allocations: 4 kB / 494.5 MB, free: 6.492 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 8.643e-05/0.1408, allocations: 125.8 kB / 494.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.1408, allocations: 7.906 kB / 494.6 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.141, allocations: 106.8 kB / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.141, allocations: 8 kB / 494.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1411, allocations: 7.969 kB / 494.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1411, allocations: 0 / 494.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.1414, allocations: 358.4 kB / 495.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1415, allocations: 0 / 495.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.1415, allocations: 23.94 kB / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1415, allocations: 0 / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1415, allocations: 0 / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1415, allocations: 320 / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1416, allocations: 0 / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.1418, allocations: 191.4 kB / 495.3 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.1418, allocations: 89.02 kB / 495.4 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1419, allocations: 3.953 kB / 495.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.1419, allocations: 11.98 kB / 495.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.142, allocations: 3.938 kB / 495.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.142, allocations: 4 kB / 495.4 MB, free: 5.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1421, allocations: 171.2 kB / 495.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1421, allocations: 0 / 495.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.1423, allocations: 24 kB / 495.6 MB, free: 5.266 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.0007892/0.1431, allocations: 402.8 kB / 496 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1433, allocations: 47.97 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1433, allocations: 4 kB / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.505e-05/0.1434, allocations: 31.92 kB / 496.1 MB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.1437, allocations: 19.92 kB / 496.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.1441, allocations: 279.1 kB / 496.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1444, allocations: 0.7043 MB / 497.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.1444, allocations: 11.44 kB / 497.1 MB, free: 3.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1444, allocations: 0 / 497.1 MB, free: 3.77 MB / 378.7 MB Notification: Performance of Templates: time 0.002699/0.1472, allocations: 1.491 MB / 498.6 MB, free: 2.281 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches