Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 187 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.363/1.363, allocations: 205.1 MB / 222.5 MB, free: 8.465 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.0009699/0.0009699, allocations: 94.31 kB / 269.9 MB, free: 8.441 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.3182/0.3182, allocations: 43.48 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009851/0.0009853, allocations: 55.91 kB / 429.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1154, allocations: 57.76 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003301/0.1187, allocations: 1.621 MB / 488.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006506/0.1194, allocations: 311.5 kB / 488.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.1195, allocations: 0 / 488.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.1197, allocations: 19.92 kB / 489 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.1199, allocations: 31.86 kB / 489 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1202, allocations: 63.86 kB / 489 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1203, allocations: 51.84 kB / 489.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1204, allocations: 23.95 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.1205, allocations: 19.88 kB / 489.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.1205, allocations: 11.92 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1206, allocations: 4 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.1207, allocations: 31.98 kB / 489.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.1207, allocations: 11.92 kB / 489.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.1208, allocations: 19.81 kB / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1209, allocations: 76.02 kB / 489.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1209, allocations: 0 / 489.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1209, allocations: 0 / 489.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.121, allocations: 0 / 489.3 MB, free: 10.22 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.0004975/0.1215, allocations: 379.2 kB / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1215, allocations: 8.031 kB / 489.7 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1215, allocations: 8.844 kB / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1217, allocations: 188.3 kB / 489.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-06/0.1217, allocations: 384 / 489.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1218, allocations: 4.375 kB / 489.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1219, allocations: 53.75 kB / 489.9 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1219, allocations: 0 / 489.9 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1219, allocations: 0 / 489.9 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1219, allocations: 4 kB / 489.9 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.278e-05/0.122, allocations: 23.97 kB / 489.9 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1223, allocations: 276.9 kB / 490.2 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1225, allocations: 42.5 kB / 490.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.1226, allocations: 20.94 kB / 490.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1226, allocations: 0 / 490.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.1226, allocations: 38.5 kB / 490.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1227, allocations: 0 / 490.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004922/0.1231, allocations: 145.5 kB / 490.5 MB, free: 8.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1232, allocations: 51.41 kB / 490.5 MB, free: 8.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1233, allocations: 141.8 kB / 490.6 MB, free: 8.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1233, allocations: 25.7 kB / 490.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.1234, allocations: 96.12 kB / 490.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1234, allocations: 27.66 kB / 490.8 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.1235, allocations: 17.7 kB / 490.8 MB, free: 8.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.1236, allocations: 318.8 kB / 491.1 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.1236, allocations: 19.98 kB / 491.1 MB, free: 8.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.99e-05/0.1237, allocations: 19.98 kB / 491.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1238, allocations: 45.02 kB / 491.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1238, allocations: 7.938 kB / 491.2 MB, free: 8.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001623/0.124, allocations: 77.61 kB / 491.3 MB, free: 8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.124, allocations: 4 kB / 491.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.124, allocations: 0 / 491.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.124, allocations: 0 / 491.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.1241, allocations: 19.98 kB / 491.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1241, allocations: 0 / 491.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.1242, allocations: 4 kB / 491.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1242, allocations: 7.984 kB / 491.3 MB, free: 7.965 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 7.467e-05/0.1243, allocations: 121.8 kB / 491.4 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1243, allocations: 7.906 kB / 491.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.1245, allocations: 89.91 kB / 491.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1245, allocations: 0 / 491.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1245, allocations: 0 / 491.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1245, allocations: 0 / 491.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.1249, allocations: 350.4 kB / 491.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1249, allocations: 3.938 kB / 491.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.125, allocations: 11.98 kB / 491.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.125, allocations: 0 / 491.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.125, allocations: 4 kB / 491.9 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.125, allocations: 4.125 kB / 491.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.125, allocations: 4 kB / 491.9 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.1255, allocations: 0.7512 MB / 492.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.1256, allocations: 81.02 kB / 492.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1256, allocations: 0 / 492.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.1256, allocations: 4 kB / 492.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1257, allocations: 7.984 kB / 492.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1257, allocations: 4 kB / 492.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.546e-05/0.1258, allocations: 107.3 kB / 492.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1258, allocations: 3.938 kB / 492.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003206/0.1261, allocations: 19.98 kB / 492.9 MB, free: 6.254 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.000774/0.1269, allocations: 395.1 kB / 493.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1271, allocations: 51.89 kB / 493.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1271, allocations: 4 kB / 493.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.848e-05/0.1271, allocations: 23.98 kB / 493.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1275, allocations: 15.94 kB / 493.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.1279, allocations: 298 kB / 493.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1282, allocations: 0.6926 MB / 494.3 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.1282, allocations: 15.91 kB / 494.4 MB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1283, allocations: 15.38 kB / 494.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1283, allocations: 0 / 494.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of Templates: time 0.003117/0.1314, allocations: 1.042 MB / 495.4 MB, free: 3.695 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches