Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 177.5 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.464/1.464, 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.0008515/0.0008515, allocations: 90.14 kB / 261.7 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.2227/0.2227, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.908e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.5411, allocations: 85.88 MB / 0.5498 GB, free: 8.844 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.5413, allocations: 67.06 kB / 0.5499 GB, free: 8.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009256/0.5506, allocations: 3.992 MB / 0.5538 GB, free: 5.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5507, allocations: 0 / 0.5538 GB, free: 5.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.5507, allocations: 0 / 0.5538 GB, free: 5.82 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.000335/0.551, allocations: 369 kB / 0.5541 GB, free: 5.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.5511, allocations: 16.03 kB / 0.5541 GB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.5511, allocations: 3.906 kB / 0.5541 GB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.5513, allocations: 190.2 kB / 0.5543 GB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5514, allocations: 0.75 kB / 0.5543 GB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.5514, allocations: 0 / 0.5543 GB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.574e-05/0.5515, allocations: 11.75 kB / 0.5543 GB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.5516, allocations: 54.16 kB / 0.5544 GB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5516, allocations: 0 / 0.5544 GB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5516, allocations: 7.984 kB / 0.5544 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5516, allocations: 4 kB / 0.5544 GB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.5519, allocations: 251.7 kB / 0.5546 GB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.552, allocations: 38.31 kB / 0.5547 GB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.5521, allocations: 12.73 kB / 0.5547 GB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.5521, allocations: 3.672 kB / 0.5547 GB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.5521, allocations: 38.5 kB / 0.5547 GB, free: 4.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5521, allocations: 4 kB / 0.5547 GB, free: 4.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003375/0.5525, allocations: 89.3 kB / 0.5548 GB, free: 4.645 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.5525, allocations: 81.11 kB / 0.5549 GB, free: 4.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.5526, allocations: 116.5 kB / 0.555 GB, free: 4.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.5526, allocations: 25.7 kB / 0.555 GB, free: 4.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.5527, allocations: 96 kB / 0.5551 GB, free: 4.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.5527, allocations: 23.62 kB / 0.5551 GB, free: 4.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.5527, allocations: 0 / 0.5551 GB, free: 4.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.5527, allocations: 322.8 kB / 0.5554 GB, free: 3.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.5528, allocations: 11.69 kB / 0.5555 GB, free: 3.965 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.5528, allocations: 21.53 kB / 0.5555 GB, free: 3.941 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.5528, allocations: 7.938 kB / 0.5555 GB, free: 3.938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.5528, allocations: 4 kB / 0.5555 GB, free: 3.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.945e-05/0.5529, allocations: 53.47 kB / 0.5555 GB, free: 3.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.5529, allocations: 8.031 kB / 0.5555 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5529, allocations: 4 kB / 0.5555 GB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.553, allocations: 0 / 0.5555 GB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.553, allocations: 19.92 kB / 0.5556 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.553, allocations: 0 / 0.5556 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.5531, allocations: 4 kB / 0.5556 GB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5531, allocations: 0 / 0.5556 GB, free: 3.848 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.906e-05/0.5531, allocations: 116.9 kB / 0.5557 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.5532, allocations: 7.906 kB / 0.5557 GB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.5533, allocations: 66.14 kB / 0.5558 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5533, allocations: 0 / 0.5558 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5533, allocations: 4 kB / 0.5558 GB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5533, allocations: 0 / 0.5558 GB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.5535, allocations: 301.4 kB / 0.556 GB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5536, allocations: 0 / 0.556 GB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.5536, allocations: 19.98 kB / 0.5561 GB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5536, allocations: 0 / 0.5561 GB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.5536, allocations: 0 / 0.5561 GB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5536, allocations: 0 / 0.5561 GB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5536, allocations: 7.984 kB / 0.5561 GB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.792e-05/0.5537, allocations: 159 kB / 0.5562 GB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.5538, allocations: 85.02 kB / 0.5563 GB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.5538, allocations: 0 / 0.5563 GB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.5539, allocations: 15.98 kB / 0.5563 GB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.5539, allocations: 7.75 kB / 0.5563 GB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.5539, allocations: 0 / 0.5563 GB, free: 3.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.19e-05/0.554, allocations: 111 kB / 0.5564 GB, free: 2.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.554, allocations: 3.938 kB / 0.5564 GB, free: 2.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.5542, allocations: 20 kB / 0.5565 GB, free: 2.902 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.0007179/0.5549, allocations: 380.9 kB / 0.5568 GB, free: 2.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.894e-05/0.555, allocations: 27.3 kB / 0.5568 GB, free: 2.562 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.555, allocations: 0 / 0.5568 GB, free: 2.562 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.5551, allocations: 15.88 kB / 0.5569 GB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.5553, allocations: 19.94 kB / 0.5569 GB, free: 2.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002218/0.5555, allocations: 87.5 kB / 0.557 GB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.5556, allocations: 0.6962 MB / 0.5576 GB, free: 1.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.5557, allocations: 8.438 kB / 0.5576 GB, free: 1.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.5557, allocations: 19.42 kB / 0.5577 GB, free: 1.68 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5557, allocations: 0 / 0.5577 GB, free: 1.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003105/0.5588, allocations: 1.238 MB / 0.5589 GB, free: 472 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches