Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 178 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008044, allocations: 98.28 kB / 261.8 MB, free: 1.605 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.2015/0.2015, allocations: 43.5 MB / 353.2 MB, free: 252 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.399e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5358, allocations: 85.63 MB / 0.5495 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.5361, allocations: 76.34 kB / 0.5496 GB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008598/0.5447, allocations: 3.894 MB / 0.5534 GB, free: 5.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5447, allocations: 0 / 0.5534 GB, free: 5.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5447, allocations: 7.938 kB / 0.5534 GB, free: 5.875 MB / 362.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.0002802/0.545, allocations: 373 kB / 0.5538 GB, free: 5.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5451, allocations: 8.031 kB / 0.5538 GB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.5451, allocations: 7.906 kB / 0.5538 GB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.5453, allocations: 206 kB / 0.554 GB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.5453, allocations: 4 kB / 0.554 GB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.5453, allocations: 0 / 0.554 GB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.699e-05/0.5454, allocations: 19.48 kB / 0.554 GB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.202e-05/0.5455, allocations: 41.95 kB / 0.5541 GB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5455, allocations: 0 / 0.5541 GB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.5455, allocations: 0 / 0.5541 GB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.5455, allocations: 3.984 kB / 0.5541 GB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.5457, allocations: 269.4 kB / 0.5543 GB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.5459, allocations: 33.89 kB / 0.5544 GB, free: 4.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.5459, allocations: 8.859 kB / 0.5544 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.546, allocations: 3.5 kB / 0.5544 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/0.546, allocations: 38.5 kB / 0.5544 GB, free: 4.777 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.546, allocations: 0 / 0.5544 GB, free: 4.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003206/0.5463, allocations: 98.34 kB / 0.5545 GB, free: 4.684 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.5464, allocations: 59.41 kB / 0.5546 GB, free: 4.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.5465, allocations: 182.1 kB / 0.5547 GB, free: 4.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.5465, allocations: 29.64 kB / 0.5548 GB, free: 4.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.5465, allocations: 102.2 kB / 0.5549 GB, free: 4.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.5466, allocations: 19.42 kB / 0.5549 GB, free: 4.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.5466, allocations: 0 / 0.5549 GB, free: 4.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.637e-05/0.5466, allocations: 326 kB / 0.5552 GB, free: 3.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.5466, allocations: 7.938 kB / 0.5552 GB, free: 3.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.5467, allocations: 10.94 kB / 0.5552 GB, free: 3.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.5467, allocations: 11.97 kB / 0.5552 GB, free: 3.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5467, allocations: 0 / 0.5552 GB, free: 3.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.522e-05/0.5468, allocations: 64.22 kB / 0.5553 GB, free: 3.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5468, allocations: 4 kB / 0.5553 GB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5468, allocations: 0 / 0.5553 GB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5469, allocations: 0 / 0.5553 GB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.5469, allocations: 12 kB / 0.5553 GB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5469, allocations: 4 kB / 0.5553 GB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.547, allocations: 11.98 kB / 0.5553 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.547, allocations: 0 / 0.5553 GB, free: 3.875 MB / 362.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 3.901e-05/0.547, allocations: 104.9 kB / 0.5554 GB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.5471, allocations: 15.81 kB / 0.5554 GB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.5472, allocations: 72.45 kB / 0.5555 GB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5472, allocations: 0 / 0.5555 GB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5473, allocations: 0 / 0.5555 GB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5473, allocations: 0 / 0.5555 GB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.5475, allocations: 331.7 kB / 0.5558 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5475, allocations: 4 kB / 0.5558 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.5476, allocations: 12 kB / 0.5558 GB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.5476, allocations: 3.984 kB / 0.5558 GB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.5476, allocations: 0 / 0.5558 GB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5476, allocations: 0 / 0.5558 GB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5476, allocations: 4 kB / 0.5558 GB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.506e-05/0.5477, allocations: 167.2 kB / 0.556 GB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.5477, allocations: 92.77 kB / 0.5561 GB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.5478, allocations: 144 / 0.5561 GB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.5478, allocations: 7.984 kB / 0.5561 GB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.5479, allocations: 7.984 kB / 0.5561 GB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.5479, allocations: 3.938 kB / 0.5561 GB, free: 3.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.601e-05/0.548, allocations: 144.2 kB / 0.5562 GB, free: 2.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.548, allocations: 3.938 kB / 0.5562 GB, free: 2.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000313/0.5483, allocations: 27.61 kB / 0.5563 GB, free: 2.875 MB / 362.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.0006386/0.5489, allocations: 327.2 kB / 0.5566 GB, free: 2.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.662e-05/0.549, allocations: 30.8 kB / 0.5566 GB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.549, allocations: 0 / 0.5566 GB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.549, allocations: 11.75 kB / 0.5566 GB, free: 2.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.5492, allocations: 19.08 kB / 0.5566 GB, free: 2.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.5495, allocations: 162.2 kB / 0.5568 GB, free: 2.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.5496, allocations: 0.7079 MB / 0.5575 GB, free: 1.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.5497, allocations: 18.8 kB / 0.5575 GB, free: 1.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.5497, allocations: 11.44 kB / 0.5575 GB, free: 1.621 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5497, allocations: 0 / 0.5575 GB, free: 1.621 MB / 362.7 MB Notification: Performance of Templates: time 0.002756/0.5525, allocations: 1.091 MB / 0.5586 GB, free: 0.5469 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches