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.000902/0.0009019, allocations: 183 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.363/1.363, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009248/0.0009248, allocations: 94.53 kB / 267.1 MB, free: 9.27 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.3643/0.3643, allocations: 43.47 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.127e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.5051, allocations: 86.54 MB / 0.5573 GB, free: 2.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.5054, allocations: 79.94 kB / 0.5574 GB, free: 2.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009534/0.5149, allocations: 4.12 MB / 0.5614 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.515, allocations: 0 / 0.5614 GB, free: 14.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.515, allocations: 0.5469 kB / 0.5614 GB, free: 14.32 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.0003578/0.5153, allocations: 369.7 kB / 0.5618 GB, free: 13.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5154, allocations: 8.031 kB / 0.5618 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.5154, allocations: 19.28 kB / 0.5618 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.5157, allocations: 188.1 kB / 0.562 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.5157, allocations: 4 kB / 0.562 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.5157, allocations: 0 / 0.562 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.5159, allocations: 63.41 kB / 0.562 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5159, allocations: 0 / 0.562 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5159, allocations: 0 / 0.562 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5159, allocations: 1.375 kB / 0.562 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.516, allocations: 15.94 kB / 0.5621 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.5163, allocations: 272.9 kB / 0.5623 GB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.5165, allocations: 38.56 kB / 0.5624 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.5165, allocations: 16.86 kB / 0.5624 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.5165, allocations: 0 / 0.5624 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.5166, allocations: 42.5 kB / 0.5624 GB, free: 13.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.5166, allocations: 0 / 0.5624 GB, free: 13.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003687/0.517, allocations: 97.58 kB / 0.5625 GB, free: 13.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.517, allocations: 81.06 kB / 0.5626 GB, free: 12.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.5172, allocations: 133.5 kB / 0.5627 GB, free: 12.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.5172, allocations: 25.7 kB / 0.5627 GB, free: 12.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.5172, allocations: 100 kB / 0.5628 GB, free: 12.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.5173, allocations: 15.75 kB / 0.5628 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.5173, allocations: 4 kB / 0.5628 GB, free: 12.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5174, allocations: 319.7 kB / 0.5632 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.5174, allocations: 4 kB / 0.5632 GB, free: 12.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.5175, allocations: 25.72 kB / 0.5632 GB, free: 12.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/0.5175, allocations: 12.03 kB / 0.5632 GB, free: 12.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5175, allocations: 0 / 0.5632 GB, free: 12.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000103/0.5176, allocations: 65.59 kB / 0.5633 GB, free: 12.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5176, allocations: 4 kB / 0.5633 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5177, allocations: 0 / 0.5633 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5177, allocations: 4 kB / 0.5633 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.5177, allocations: 16.86 kB / 0.5633 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5178, allocations: 4 kB / 0.5633 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.5178, allocations: 11.95 kB / 0.5633 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.5178, allocations: 0 / 0.5633 GB, free: 12.18 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 6.51e-05/0.5179, allocations: 105 kB / 0.5634 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.5179, allocations: 11.89 kB / 0.5634 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.5181, allocations: 69.78 kB / 0.5635 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5181, allocations: 0 / 0.5635 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5181, allocations: 0 / 0.5635 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5181, allocations: 144 / 0.5635 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.5185, allocations: 334.4 kB / 0.5638 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5185, allocations: 3.984 kB / 0.5638 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.5185, allocations: 15.98 kB / 0.5638 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5185, allocations: 384 / 0.5638 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.5186, allocations: 4 kB / 0.5638 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5186, allocations: 4 kB / 0.5638 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.5186, allocations: 3.953 kB / 0.5638 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.5187, allocations: 163.4 kB / 0.564 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.5188, allocations: 85.09 kB / 0.5641 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.5188, allocations: 0 / 0.5641 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.5189, allocations: 8 kB / 0.5641 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.5189, allocations: 11.92 kB / 0.5641 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.5189, allocations: 3.953 kB / 0.5641 GB, free: 11.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.758e-05/0.519, allocations: 105.8 kB / 0.5642 GB, free: 11.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.519, allocations: 0 / 0.5642 GB, free: 11.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.5192, allocations: 31.91 kB / 0.5642 GB, free: 11.14 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.000867/0.5201, allocations: 395.8 kB / 0.5646 GB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.515e-05/0.5202, allocations: 31.94 kB / 0.5646 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5202, allocations: 0 / 0.5646 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.5203, allocations: 16 kB / 0.5646 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.5205, allocations: 19.92 kB / 0.5647 GB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.5207, allocations: 93.69 kB / 0.5647 GB, free: 10.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.521, allocations: 0.6926 MB / 0.5654 GB, free: 9.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.501e-05/0.5211, allocations: 16.16 kB / 0.5654 GB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.5211, allocations: 19.44 kB / 0.5655 GB, free: 9.895 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5211, allocations: 3.938 kB / 0.5655 GB, free: 9.891 MB / 394.7 MB Notification: Performance of Templates: time 0.003405/0.5245, allocations: 1.281 MB / 0.5667 GB, free: 8.617 MB / 394.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