Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 176.7 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.59/1.59, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008731/0.0008732, allocations: 86.2 kB / 261.8 MB, free: 1.684 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.2105/0.2105, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.832e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5392, allocations: 85.59 MB / 0.5495 GB, free: 8.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.5395, allocations: 73.05 kB / 0.5496 GB, free: 8.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008281/0.5478, allocations: 3.577 MB / 0.5531 GB, free: 6.199 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5478, allocations: 0 / 0.5531 GB, free: 6.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.5479, allocations: 8 kB / 0.5531 GB, free: 6.191 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.0003103/0.5482, allocations: 374 kB / 0.5534 GB, free: 5.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5482, allocations: 8.031 kB / 0.5534 GB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.5483, allocations: 7.906 kB / 0.5535 GB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.5485, allocations: 198.2 kB / 0.5536 GB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.5485, allocations: 8 kB / 0.5537 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.5485, allocations: 0 / 0.5537 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.069e-05/0.5486, allocations: 11.38 kB / 0.5537 GB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.036e-05/0.5487, allocations: 44.88 kB / 0.5537 GB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5487, allocations: 0 / 0.5537 GB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.5487, allocations: 0 / 0.5537 GB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5487, allocations: 0 / 0.5537 GB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.549, allocations: 251.1 kB / 0.5539 GB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.5492, allocations: 38.94 kB / 0.554 GB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.5492, allocations: 8.859 kB / 0.554 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.5492, allocations: 0 / 0.554 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.5493, allocations: 38.5 kB / 0.554 GB, free: 5.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.5493, allocations: 0 / 0.554 GB, free: 5.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003639/0.5496, allocations: 103.7 kB / 0.5541 GB, free: 5.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.5497, allocations: 55.36 kB / 0.5542 GB, free: 4.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.5498, allocations: 141.3 kB / 0.5543 GB, free: 4.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.537e-06/0.5498, allocations: 29.64 kB / 0.5543 GB, free: 4.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.5499, allocations: 102.5 kB / 0.5544 GB, free: 4.699 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.5499, allocations: 19.66 kB / 0.5545 GB, free: 4.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.5499, allocations: 3.938 kB / 0.5545 GB, free: 4.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.5499, allocations: 318.5 kB / 0.5548 GB, free: 4.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.55, allocations: 15.81 kB / 0.5548 GB, free: 4.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.55, allocations: 7.188 kB / 0.5548 GB, free: 4.344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.55, allocations: 11.98 kB / 0.5548 GB, free: 4.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.55, allocations: 0 / 0.5548 GB, free: 4.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.24e-05/0.5501, allocations: 64.53 kB / 0.5549 GB, free: 4.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.5501, allocations: 4 kB / 0.5549 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5501, allocations: 0 / 0.5549 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5501, allocations: 4 kB / 0.5549 GB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.5502, allocations: 11.98 kB / 0.5549 GB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5502, allocations: 11.95 kB / 0.5549 GB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.5503, allocations: 7.984 kB / 0.5549 GB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.5503, allocations: 0 / 0.5549 GB, free: 4.234 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 4.762e-05/0.5503, allocations: 105 kB / 0.555 GB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.5504, allocations: 7.906 kB / 0.555 GB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.5505, allocations: 64.91 kB / 0.5551 GB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5505, allocations: 4 kB / 0.5551 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5505, allocations: 0 / 0.5551 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5505, allocations: 11.94 kB / 0.5551 GB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.5508, allocations: 311.1 kB / 0.5554 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5508, allocations: 0 / 0.5554 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.5508, allocations: 12 kB / 0.5554 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.5508, allocations: 0 / 0.5554 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.5509, allocations: 0 / 0.5554 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5509, allocations: 0 / 0.5554 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5509, allocations: 3.953 kB / 0.5554 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.551, allocations: 158.1 kB / 0.5555 GB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.551, allocations: 93 kB / 0.5556 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.551, allocations: 4 kB / 0.5556 GB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.5511, allocations: 8 kB / 0.5556 GB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.5512, allocations: 11.94 kB / 0.5557 GB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.5512, allocations: 3.438 kB / 0.5557 GB, free: 3.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.516e-05/0.5513, allocations: 120.3 kB / 0.5558 GB, free: 3.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.174e-06/0.5513, allocations: 0 / 0.5558 GB, free: 3.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.5515, allocations: 31.8 kB / 0.5558 GB, free: 3.281 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.000779/0.5523, allocations: 318.8 kB / 0.5561 GB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.5524, allocations: 27.11 kB / 0.5561 GB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5524, allocations: 4 kB / 0.5561 GB, free: 2.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/0.5525, allocations: 18.81 kB / 0.5562 GB, free: 2.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.5527, allocations: 11.94 kB / 0.5562 GB, free: 2.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.553, allocations: 118.2 kB / 0.5563 GB, free: 2.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5532, allocations: 0.7048 MB / 0.557 GB, free: 2.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.5533, allocations: 16.17 kB / 0.557 GB, free: 2.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.5533, allocations: 15.42 kB / 0.557 GB, free: 2.074 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5533, allocations: 0 / 0.557 GB, free: 2.074 MB / 362.7 MB Notification: Performance of Templates: time 0.003353/0.5567, allocations: 1.034 MB / 0.558 GB, free: 1.059 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches