Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, 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.458/1.458, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.00079/0.0007901, allocations: 92.45 kB / 267.1 MB, free: 9.254 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.3349/0.3349, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.941e-05, allocations: 4 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4428, allocations: 86.54 MB / 0.5573 GB, free: 17.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4431, allocations: 77.59 kB / 0.5574 GB, free: 17.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009047/0.4521, allocations: 4.115 MB / 0.5614 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4522, allocations: 0 / 0.5614 GB, free: 15.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.4522, allocations: 0 / 0.5614 GB, free: 15.04 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.0002334/0.4524, allocations: 374 kB / 0.5618 GB, free: 14.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.4525, allocations: 8.031 kB / 0.5618 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.4525, allocations: 11.34 kB / 0.5618 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.4527, allocations: 188.9 kB / 0.562 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.4527, allocations: 7.984 kB / 0.562 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4527, allocations: 1.453 kB / 0.562 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.4528, allocations: 60.16 kB / 0.562 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4528, allocations: 3.312 kB / 0.562 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.4528, allocations: 0 / 0.562 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4528, allocations: 6.188 kB / 0.562 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.972e-05/0.4529, allocations: 12.97 kB / 0.5621 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.4532, allocations: 274.9 kB / 0.5623 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.4533, allocations: 38.27 kB / 0.5624 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.4533, allocations: 16.8 kB / 0.5624 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.4533, allocations: 4 kB / 0.5624 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.4534, allocations: 34.64 kB / 0.5624 GB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4534, allocations: 0 / 0.5624 GB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003198/0.4537, allocations: 98.72 kB / 0.5625 GB, free: 13.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.4537, allocations: 81.06 kB / 0.5626 GB, free: 13.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.264e-05/0.4538, allocations: 136.2 kB / 0.5627 GB, free: 13.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.4538, allocations: 25.7 kB / 0.5627 GB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.4539, allocations: 93.52 kB / 0.5628 GB, free: 13.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.4539, allocations: 17.2 kB / 0.5628 GB, free: 13.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4539, allocations: 0 / 0.5628 GB, free: 13.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.156e-05/0.4539, allocations: 317.5 kB / 0.5631 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.454, allocations: 13.41 kB / 0.5632 GB, free: 13.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.454, allocations: 25.72 kB / 0.5632 GB, free: 13.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.454, allocations: 13 kB / 0.5632 GB, free: 13.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.454, allocations: 0 / 0.5632 GB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.649e-05/0.4541, allocations: 64.14 kB / 0.5633 GB, free: 13.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.4541, allocations: 4 kB / 0.5633 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4541, allocations: 4 kB / 0.5633 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4542, allocations: 0 / 0.5633 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.4542, allocations: 14.86 kB / 0.5633 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4542, allocations: 0.7031 kB / 0.5633 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.4543, allocations: 14.62 kB / 0.5633 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4543, allocations: 3.562 kB / 0.5633 GB, free: 13.07 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 3.446e-05/0.4543, allocations: 105 kB / 0.5634 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.4544, allocations: 7.906 kB / 0.5634 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.4545, allocations: 75.44 kB / 0.5635 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4545, allocations: 1.453 kB / 0.5635 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4545, allocations: 0 / 0.5635 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4545, allocations: 2.062 kB / 0.5635 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.4548, allocations: 333.1 kB / 0.5638 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4548, allocations: 0 / 0.5638 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.4548, allocations: 14.72 kB / 0.5638 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4548, allocations: 0 / 0.5638 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.4549, allocations: 5.453 kB / 0.5638 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4549, allocations: 320 / 0.5638 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4549, allocations: 3.953 kB / 0.5638 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.679e-05/0.455, allocations: 166.2 kB / 0.564 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.455, allocations: 83.83 kB / 0.5641 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.455, allocations: 3.875 kB / 0.5641 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.4551, allocations: 5.594 kB / 0.5641 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.4551, allocations: 11.17 kB / 0.5641 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4551, allocations: 4.094 kB / 0.5641 GB, free: 12.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.725e-05/0.4552, allocations: 104.8 kB / 0.5642 GB, free: 12.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4552, allocations: 0 / 0.5642 GB, free: 12.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.4554, allocations: 29.69 kB / 0.5642 GB, free: 12.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.0007353/0.4562, allocations: 413.4 kB / 0.5646 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.031e-05/0.4562, allocations: 23.75 kB / 0.5646 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.4563, allocations: 0 / 0.5646 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.563e-05/0.4563, allocations: 21.53 kB / 0.5646 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.4565, allocations: 21 kB / 0.5647 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/0.4567, allocations: 96.31 kB / 0.5648 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.4568, allocations: 0.6988 MB / 0.5654 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.4568, allocations: 5.828 kB / 0.5654 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.4569, allocations: 17.08 kB / 0.5655 GB, free: 10.93 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4569, allocations: 0 / 0.5655 GB, free: 10.93 MB / 394.7 MB Notification: Performance of Templates: time 0.00305/0.4599, allocations: 1.28 MB / 0.5667 GB, free: 10.17 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches