Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009741/0.0009742, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007555/0.0007556, allocations: 97.8 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2949/0.2949, allocations: 45.01 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002375/0.0002376, allocations: 8 kB / 470.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2674, allocations: 63.1 MB / 0.5214 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.001426/0.2689, allocations: 1.3 MB / 0.5226 GB, free: 37.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2701, allocations: 1.402 MB / 0.524 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.2702, allocations: 0 / 0.524 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.2703, allocations: 31.55 kB / 0.524 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.2705, allocations: 70.19 kB / 0.5241 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.2708, allocations: 99.61 kB / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2709, allocations: 61.72 kB / 0.5243 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.271, allocations: 9.469 kB / 0.5243 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.014e-05/0.271, allocations: 26.28 kB / 0.5243 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2711, allocations: 30.45 kB / 0.5243 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2712, allocations: 2.656 kB / 0.5243 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.2713, allocations: 85.11 kB / 0.5244 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.2713, allocations: 6.812 kB / 0.5244 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.2714, allocations: 51.66 kB / 0.5245 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2716, allocations: 135.3 kB / 0.5246 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2716, allocations: 2.625 kB / 0.5246 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2716, allocations: 0 / 0.5246 GB, free: 36.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.2716, allocations: 0 / 0.5246 GB, free: 36.15 MB / 378.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.0003454/0.2719, allocations: 389.7 kB / 0.525 GB, free: 35.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.272, allocations: 11.33 kB / 0.525 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.272, allocations: 11.64 kB / 0.525 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2722, allocations: 196.8 kB / 0.5252 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.2722, allocations: 384 / 0.5252 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.2722, allocations: 2.969 kB / 0.5252 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.2723, allocations: 67.42 kB / 0.5252 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2723, allocations: 0 / 0.5252 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2724, allocations: 3.188 kB / 0.5252 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2724, allocations: 0 / 0.5252 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.2725, allocations: 29.95 kB / 0.5253 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.2727, allocations: 292 kB / 0.5256 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.2729, allocations: 44.36 kB / 0.5256 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.273, allocations: 21.11 kB / 0.5256 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.273, allocations: 0 / 0.5256 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.273, allocations: 36.81 kB / 0.5257 GB, free: 35.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.273, allocations: 0 / 0.5257 GB, free: 35.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004754/0.2735, allocations: 162.7 kB / 0.5258 GB, free: 35.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.2735, allocations: 79.73 kB / 0.5259 GB, free: 34.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2736, allocations: 146.7 kB / 0.526 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.2737, allocations: 25.7 kB / 0.526 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.2737, allocations: 100.6 kB / 0.5261 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.2737, allocations: 19.64 kB / 0.5262 GB, free: 34.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.2737, allocations: 6.406 kB / 0.5262 GB, free: 34.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.2738, allocations: 320.9 kB / 0.5265 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.2738, allocations: 24.55 kB / 0.5265 GB, free: 34.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.2739, allocations: 47.27 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.2741, allocations: 68.25 kB / 0.5266 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2741, allocations: 0 / 0.5266 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001623/0.2742, allocations: 93.53 kB / 0.5267 GB, free: 34.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2743, allocations: 5.625 kB / 0.5267 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2743, allocations: 3.938 kB / 0.5267 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2743, allocations: 0 / 0.5267 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.2743, allocations: 18.19 kB / 0.5267 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2744, allocations: 3.984 kB / 0.5267 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.2744, allocations: 5.219 kB / 0.5267 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2744, allocations: 10.81 kB / 0.5267 GB, free: 34.22 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.2745, allocations: 115.6 kB / 0.5269 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.2745, allocations: 5.719 kB / 0.5269 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.2747, allocations: 103.9 kB / 0.527 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2747, allocations: 0 / 0.527 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2747, allocations: 7.938 kB / 0.527 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2747, allocations: 0 / 0.527 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.2751, allocations: 364.1 kB / 0.5273 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2751, allocations: 0 / 0.5273 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.2751, allocations: 20.75 kB / 0.5273 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2751, allocations: 0 / 0.5273 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2751, allocations: 3.141 kB / 0.5273 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2752, allocations: 6.906 kB / 0.5273 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2752, allocations: 0 / 0.5273 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.2753, allocations: 194.1 kB / 0.5275 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.2754, allocations: 92.08 kB / 0.5276 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.2754, allocations: 2.938 kB / 0.5276 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.2755, allocations: 6.75 kB / 0.5276 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.2755, allocations: 10.45 kB / 0.5276 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.2755, allocations: 2.938 kB / 0.5276 GB, free: 33.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.051e-05/0.2756, allocations: 111.2 kB / 0.5277 GB, free: 33.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2756, allocations: 0 / 0.5277 GB, free: 33.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.2758, allocations: 43.09 kB / 0.5278 GB, free: 33.34 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009274/0.2768, allocations: 0.5655 MB / 0.5283 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.2769, allocations: 56.55 kB / 0.5284 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.277, allocations: 2.969 kB / 0.5284 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.277, allocations: 35.3 kB / 0.5284 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2773, allocations: 13.67 kB / 0.5284 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.2776, allocations: 195.2 kB / 0.5286 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2777, allocations: 0.6943 MB / 0.5293 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6e-05/0.2778, allocations: 12.61 kB / 0.5293 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.2778, allocations: 20.42 kB / 0.5293 GB, free: 32.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2778, allocations: 3.938 kB / 0.5293 GB, free: 32.11 MB / 378.7 MB Notification: Performance of Templates: time 0.003484/0.2813, allocations: 1.716 MB / 0.531 GB, free: 31.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches