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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 183 kB / 16.63 MB, free: 5.137 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.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.0008937/0.0008939, allocations: 98.61 kB / 269.9 MB, free: 8.426 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.3356/0.3356, allocations: 43.5 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009423/0.0009423, allocations: 55.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1109, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003258/0.1142, allocations: 1.613 MB / 488.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007141/0.1149, allocations: 319.5 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.115, allocations: 0 / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.1154, allocations: 127.8 kB / 489.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1157, allocations: 79.83 kB / 489.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.116, allocations: 63.86 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1162, allocations: 75.81 kB / 489.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1164, allocations: 19.97 kB / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.501e-05/0.1165, allocations: 39.78 kB / 489.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1166, allocations: 79.84 kB / 489.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1167, allocations: 0 / 489.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1168, allocations: 23.98 kB / 489.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.1169, allocations: 31.84 kB / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.1169, allocations: 31.75 kB / 489.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1171, allocations: 99.86 kB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1172, allocations: 0 / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1172, allocations: 0 / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1172, allocations: 4 kB / 489.6 MB, free: 9.945 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.0007217/0.1179, allocations: 422.8 kB / 490 MB, free: 9.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.118, allocations: 12.03 kB / 490 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.118, allocations: 12.75 kB / 490 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1183, allocations: 207.7 kB / 490.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1183, allocations: 8.375 kB / 490.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.1183, allocations: 384 / 490.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1185, allocations: 49.81 kB / 490.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1185, allocations: 3.984 kB / 490.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1185, allocations: 3.938 kB / 490.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1186, allocations: 4 kB / 490.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.869e-05/0.1186, allocations: 19.98 kB / 490.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.119, allocations: 292.8 kB / 490.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1192, allocations: 46.56 kB / 490.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.1193, allocations: 16.94 kB / 490.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1193, allocations: 4 kB / 490.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1194, allocations: 30.56 kB / 490.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1194, allocations: 0 / 490.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005981/0.12, allocations: 153 kB / 490.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.12, allocations: 59.41 kB / 490.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1203, allocations: 259.3 kB / 491.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1203, allocations: 29.64 kB / 491.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.1204, allocations: 112.1 kB / 491.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1205, allocations: 15.72 kB / 491.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.1205, allocations: 21.7 kB / 491.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1207, allocations: 326.8 kB / 491.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.1207, allocations: 15.98 kB / 491.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.1208, allocations: 23.98 kB / 491.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1209, allocations: 44.83 kB / 491.7 MB, free: 7.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1209, allocations: 0 / 491.7 MB, free: 7.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001694/0.1211, allocations: 85.77 kB / 491.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1211, allocations: 7.938 kB / 491.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1212, allocations: 4 kB / 491.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1212, allocations: 0 / 491.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.1212, allocations: 19.92 kB / 491.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1213, allocations: 0 / 491.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.1213, allocations: 7.938 kB / 491.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1213, allocations: 0 / 491.9 MB, free: 7.449 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.511e-05/0.1214, allocations: 141.8 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.1214, allocations: 15.81 kB / 492 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.1217, allocations: 98.64 kB / 492.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1217, allocations: 4 kB / 492.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1217, allocations: 0 / 492.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1217, allocations: 0 / 492.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.1221, allocations: 362.4 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1221, allocations: 0 / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.1222, allocations: 8 kB / 492.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1222, allocations: 7.984 kB / 492.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1222, allocations: 4 kB / 492.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.1222, allocations: 3.938 kB / 492.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1222, allocations: 0 / 492.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.1228, allocations: 0.7708 MB / 493.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.1228, allocations: 92.92 kB / 493.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1228, allocations: 0 / 493.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.1229, allocations: 4 kB / 493.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.123, allocations: 7.922 kB / 493.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.123, allocations: 4 kB / 493.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.1231, allocations: 203.4 kB / 493.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1231, allocations: 0 / 493.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003171/0.1234, allocations: 20 kB / 493.6 MB, free: 5.566 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 (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.0008063/0.1243, allocations: 410.1 kB / 494 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.1244, allocations: 47.97 kB / 494 MB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1245, allocations: 3.938 kB / 494 MB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/0.1245, allocations: 27.92 kB / 494.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1249, allocations: 19.92 kB / 494.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.1254, allocations: 407.3 kB / 494.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1257, allocations: 0.716 MB / 495.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.551e-05/0.1258, allocations: 19.83 kB / 495.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.1258, allocations: 11.44 kB / 495.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1258, allocations: 0 / 495.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of Templates: time 0.003216/0.129, allocations: 1.097 MB / 496.3 MB, free: 2.805 MB / 378.7 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@2/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