Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01454/0.01454, allocations: 100.5 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002432/0.002432, allocations: 193.3 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3878/0.3878, allocations: 43.49 MB / 313.5 MB, free: 8.504 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 64.33 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 57.8 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003723/0.1399, allocations: 1.618 MB / 441.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.1408, allocations: 307.6 kB / 441.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1409, allocations: 4 kB / 441.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.1413, allocations: 115.8 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1416, allocations: 83.77 kB / 441.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1419, allocations: 71.86 kB / 442 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.1421, allocations: 79.8 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1423, allocations: 15.98 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.783e-05/0.1424, allocations: 43.88 kB / 442.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.1425, allocations: 75.73 kB / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1426, allocations: 0 / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1427, allocations: 31.98 kB / 442.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.1428, allocations: 23.92 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1428, allocations: 31.69 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.143, allocations: 99.92 kB / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.143, allocations: 3.984 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1431, allocations: 0 / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1431, allocations: 0 / 442.4 MB, free: 12.23 MB / 382.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.0006125/0.1437, allocations: 418.8 kB / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1437, allocations: 12.03 kB / 442.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.1438, allocations: 16.75 kB / 442.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1441, allocations: 219.7 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1441, allocations: 384 / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.1441, allocations: 4.375 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1443, allocations: 45.81 kB / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.1443, allocations: 4 kB / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1444, allocations: 4 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1444, allocations: 0 / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.1445, allocations: 19.97 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1449, allocations: 292.8 kB / 443.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.1452, allocations: 46.64 kB / 443.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.1452, allocations: 12.84 kB / 443.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1452, allocations: 0 / 443.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1453, allocations: 42.56 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1453, allocations: 0 / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000615/0.1459, allocations: 149 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.146, allocations: 51.41 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.1462, allocations: 263.3 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1463, allocations: 25.7 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.1463, allocations: 116.1 kB / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1464, allocations: 23.7 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1464, allocations: 13.72 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1466, allocations: 330.8 kB / 444.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.1467, allocations: 19.92 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-05/0.1467, allocations: 15.98 kB / 444.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1469, allocations: 52.83 kB / 444.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1469, allocations: 3.938 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001767/0.1471, allocations: 77.58 kB / 444.6 MB, free: 9.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1471, allocations: 4 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1471, allocations: 0 / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1471, allocations: 4 kB / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.1472, allocations: 15.92 kB / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1472, allocations: 3.938 kB / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.1472, allocations: 12.19 kB / 444.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1473, allocations: 4 kB / 444.7 MB, free: 9.734 MB / 382.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 0.0001109/0.1474, allocations: 141.8 kB / 444.8 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1474, allocations: 15.8 kB / 444.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.1477, allocations: 94.66 kB / 444.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1477, allocations: 0 / 444.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1477, allocations: 4 kB / 444.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1477, allocations: 4 kB / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.1481, allocations: 362.4 kB / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1481, allocations: 0 / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.1482, allocations: 15.98 kB / 445.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1482, allocations: 0 / 445.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1482, allocations: 4 kB / 445.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1482, allocations: 3.938 kB / 445.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1482, allocations: 0 / 445.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1484, allocations: 183.3 kB / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1485, allocations: 89 kB / 445.6 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1485, allocations: 0 / 445.6 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.1486, allocations: 7.938 kB / 445.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1486, allocations: 7.984 kB / 445.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1486, allocations: 0 / 445.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1488, allocations: 207.4 kB / 445.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1488, allocations: 0 / 445.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1491, allocations: 20 kB / 445.8 MB, free: 8.484 MB / 382.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.0009288/0.15, allocations: 406.2 kB / 446.2 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1502, allocations: 43.97 kB / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1502, allocations: 0 / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.1503, allocations: 31.92 kB / 446.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1507, allocations: 11.98 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.1512, allocations: 296.4 kB / 446.6 MB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1515, allocations: 0.716 MB / 447.3 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.1515, allocations: 4 kB / 447.3 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.1516, allocations: 11.44 kB / 447.3 MB, free: 6.961 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1516, allocations: 0 / 447.3 MB, free: 6.961 MB / 382.1 MB Notification: Performance of Templates: time 0.003828/0.1554, allocations: 1.101 MB / 448.4 MB, free: 5.859 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches