Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.377/1.377, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008592/0.0008597, allocations: 86.61 kB / 267 MB, free: 9.273 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.3791/0.3791, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.516e-05, allocations: 4 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/0.5298, allocations: 86.25 MB / 0.557 GB, free: 17.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5301, allocations: 72.08 kB / 0.5571 GB, free: 17.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008533/0.5386, allocations: 3.523 MB / 0.5606 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5386, allocations: 4 kB / 0.5606 GB, free: 15.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.5387, allocations: 0 / 0.5606 GB, free: 15.41 MB / 394.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.0002704/0.5389, allocations: 368.1 kB / 0.5609 GB, free: 15.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.539, allocations: 8.031 kB / 0.5609 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.5391, allocations: 11.34 kB / 0.5609 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.5392, allocations: 194.7 kB / 0.5611 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.5393, allocations: 3.938 kB / 0.5611 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.5393, allocations: 0 / 0.5611 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.498e-05/0.5394, allocations: 44.59 kB / 0.5612 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5394, allocations: 0 / 0.5612 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.5394, allocations: 0 / 0.5612 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5394, allocations: 5.375 kB / 0.5612 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.5395, allocations: 17.17 kB / 0.5612 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.5398, allocations: 268.7 kB / 0.5614 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.5399, allocations: 43.86 kB / 0.5615 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.54, allocations: 12.8 kB / 0.5615 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.54, allocations: 0 / 0.5615 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.54, allocations: 40.11 kB / 0.5615 GB, free: 14.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.54, allocations: 0 / 0.5615 GB, free: 14.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003551/0.5404, allocations: 101.3 kB / 0.5616 GB, free: 14.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.5404, allocations: 59.36 kB / 0.5617 GB, free: 14.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.5405, allocations: 136.2 kB / 0.5618 GB, free: 14.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.5406, allocations: 25.7 kB / 0.5618 GB, free: 14.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.5406, allocations: 97.59 kB / 0.5619 GB, free: 13.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.5406, allocations: 13.36 kB / 0.5619 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.5406, allocations: 3.812 kB / 0.5619 GB, free: 13.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.5407, allocations: 313.6 kB / 0.5622 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.5407, allocations: 11.88 kB / 0.5623 GB, free: 13.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.614e-05/0.5407, allocations: 7.938 kB / 0.5623 GB, free: 13.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.5408, allocations: 21.27 kB / 0.5623 GB, free: 13.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5408, allocations: 2.438 kB / 0.5623 GB, free: 13.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.495e-05/0.5409, allocations: 59.64 kB / 0.5623 GB, free: 13.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5409, allocations: 4 kB / 0.5623 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5409, allocations: 0 / 0.5623 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5409, allocations: 1.125 kB / 0.5623 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.541, allocations: 18.38 kB / 0.5624 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.541, allocations: 0 / 0.5624 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.541, allocations: 9.312 kB / 0.5624 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.541, allocations: 9.5 kB / 0.5624 GB, free: 13.51 MB / 394.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 () * 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 4.349e-05/0.5411, allocations: 105.8 kB / 0.5625 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.5411, allocations: 7.906 kB / 0.5625 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.5413, allocations: 68.2 kB / 0.5626 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5413, allocations: 144 / 0.5626 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5413, allocations: 7.984 kB / 0.5626 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5413, allocations: 0 / 0.5626 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.5415, allocations: 340.5 kB / 0.5629 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5416, allocations: 0 / 0.5629 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.5416, allocations: 14.67 kB / 0.5629 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5416, allocations: 0 / 0.5629 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.5416, allocations: 4 kB / 0.5629 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5416, allocations: 2.344 kB / 0.5629 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5416, allocations: 5.219 kB / 0.5629 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.717e-05/0.5418, allocations: 162.5 kB / 0.5631 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.5418, allocations: 86.52 kB / 0.5631 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.5418, allocations: 0 / 0.5631 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.5419, allocations: 6.484 kB / 0.5632 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.5419, allocations: 14.31 kB / 0.5632 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.5419, allocations: 1.406 kB / 0.5632 GB, free: 12.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.542, allocations: 110.9 kB / 0.5633 GB, free: 12.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.542, allocations: 0 / 0.5633 GB, free: 12.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.5422, allocations: 25.19 kB / 0.5633 GB, free: 12.59 MB / 394.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 () * 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.0007203/0.5429, allocations: 368.5 kB / 0.5637 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.5431, allocations: 27.44 kB / 0.5637 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5431, allocations: 0 / 0.5637 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.5431, allocations: 16.83 kB / 0.5637 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.5433, allocations: 14.22 kB / 0.5637 GB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.5435, allocations: 106.7 kB / 0.5638 GB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.5437, allocations: 0.6985 MB / 0.5645 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.937e-05/0.5437, allocations: 4.188 kB / 0.5645 GB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.5438, allocations: 16.92 kB / 0.5645 GB, free: 11.42 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5438, allocations: 4 kB / 0.5645 GB, free: 11.42 MB / 394.7 MB Notification: Performance of Templates: time 0.002935/0.5467, allocations: 1.027 MB / 0.5655 GB, free: 10.8 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches