Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001778/0.001778, allocations: 180.9 kB / 8.006 MB, free: 1.062 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.655/1.655, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0009761/0.0009762, allocations: 98.23 kB / 261.8 MB, free: 1.68 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.2052/0.2052, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.828e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1186, allocations: 58.87 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5507, allocations: 85.62 MB / 0.5496 GB, free: 9.004 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.5509, allocations: 75.69 kB / 0.5496 GB, free: 9.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008505/0.5595, allocations: 3.803 MB / 0.5533 GB, free: 5.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5595, allocations: 0 / 0.5533 GB, free: 5.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.5595, allocations: 11.94 kB / 0.5534 GB, free: 5.957 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.0003314/0.5599, allocations: 376.6 kB / 0.5537 GB, free: 5.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5599, allocations: 8.031 kB / 0.5537 GB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.56, allocations: 11.89 kB / 0.5537 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.5602, allocations: 209.1 kB / 0.5539 GB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.5602, allocations: 0 / 0.5539 GB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.5602, allocations: 7.984 kB / 0.5539 GB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.255e-05/0.5603, allocations: 6.875 kB / 0.5539 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.022e-05/0.5604, allocations: 41.14 kB / 0.554 GB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5604, allocations: 3.984 kB / 0.554 GB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5604, allocations: 0 / 0.554 GB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5605, allocations: 4 kB / 0.554 GB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.5608, allocations: 256.9 kB / 0.5542 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.561, allocations: 41.08 kB / 0.5543 GB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.561, allocations: 8.859 kB / 0.5543 GB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.561, allocations: 4 kB / 0.5543 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.5611, allocations: 30.56 kB / 0.5543 GB, free: 4.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.5611, allocations: 0 / 0.5543 GB, free: 4.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003712/0.5614, allocations: 109.7 kB / 0.5544 GB, free: 4.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.5615, allocations: 55.41 kB / 0.5545 GB, free: 4.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.5616, allocations: 161.1 kB / 0.5546 GB, free: 4.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.5616, allocations: 37.27 kB / 0.5547 GB, free: 4.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.5617, allocations: 97.69 kB / 0.5548 GB, free: 4.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.5617, allocations: 19.28 kB / 0.5548 GB, free: 4.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.5617, allocations: 0 / 0.5548 GB, free: 4.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.5618, allocations: 322.2 kB / 0.5551 GB, free: 4.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.5618, allocations: 11.75 kB / 0.5551 GB, free: 4.082 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.5618, allocations: 7.938 kB / 0.5551 GB, free: 4.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.5618, allocations: 8.344 kB / 0.5551 GB, free: 4.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.5618, allocations: 0 / 0.5551 GB, free: 4.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.31e-05/0.5619, allocations: 65.28 kB / 0.5552 GB, free: 4.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5619, allocations: 7.938 kB / 0.5552 GB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.562, allocations: 4 kB / 0.5552 GB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.562, allocations: 0 / 0.5552 GB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.562, allocations: 15.98 kB / 0.5552 GB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5621, allocations: 0 / 0.5552 GB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.5621, allocations: 4 kB / 0.5552 GB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.5621, allocations: 3.984 kB / 0.5552 GB, free: 3.973 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 5.164e-05/0.5622, allocations: 116.8 kB / 0.5553 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.5622, allocations: 7.906 kB / 0.5553 GB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.5623, allocations: 61.72 kB / 0.5554 GB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.5623, allocations: 144 / 0.5554 GB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.5623, allocations: 3.984 kB / 0.5554 GB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5624, allocations: 3.984 kB / 0.5554 GB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.5626, allocations: 317 kB / 0.5557 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5626, allocations: 8 kB / 0.5557 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.5627, allocations: 15.92 kB / 0.5557 GB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5627, allocations: 4 kB / 0.5557 GB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.5627, allocations: 0 / 0.5557 GB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5627, allocations: 0 / 0.5557 GB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5627, allocations: 0 / 0.5557 GB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/0.5628, allocations: 166.1 kB / 0.5559 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.5629, allocations: 96.48 kB / 0.556 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.5629, allocations: 12.05 kB / 0.556 GB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.563, allocations: 4 kB / 0.556 GB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.563, allocations: 4 kB / 0.556 GB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.563, allocations: 7.922 kB / 0.556 GB, free: 3.117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.5631, allocations: 136.4 kB / 0.5561 GB, free: 3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5631, allocations: 0 / 0.5561 GB, free: 3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.5633, allocations: 27.3 kB / 0.5562 GB, free: 2.977 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.0006701/0.564, allocations: 330.9 kB / 0.5565 GB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.5641, allocations: 30.8 kB / 0.5565 GB, free: 2.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5641, allocations: 0 / 0.5565 GB, free: 2.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.5641, allocations: 11.5 kB / 0.5565 GB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.5643, allocations: 15.58 kB / 0.5565 GB, free: 2.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.5646, allocations: 146.4 kB / 0.5567 GB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.5648, allocations: 0.7002 MB / 0.5573 GB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.302e-05/0.5648, allocations: 16.16 kB / 0.5574 GB, free: 1.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.5649, allocations: 15.19 kB / 0.5574 GB, free: 1.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5649, allocations: 0 / 0.5574 GB, free: 1.75 MB / 362.7 MB Notification: Performance of Templates: time 0.002919/0.5678, allocations: 1.071 MB / 0.5584 GB, free: 0.6914 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches