Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 181.7 kB / 17.41 MB, free: 4.289 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.316/1.316, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.000744/0.000744, allocations: 86.39 kB / 271.9 MB, free: 8.242 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.3221/0.3221, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003573, allocations: 12 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/0.431, allocations: 86.65 MB / 0.5645 GB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4313, allocations: 79.95 kB / 0.5646 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01073/0.4421, allocations: 4.271 MB / 0.5688 GB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4421, allocations: 3.938 kB / 0.5688 GB, free: 11.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4421, allocations: 0 / 0.5688 GB, free: 11.46 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004532/0.4426, allocations: 427.6 kB / 0.5692 GB, free: 11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4426, allocations: 8.031 kB / 0.5692 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.4427, allocations: 20.75 kB / 0.5692 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.4429, allocations: 216 kB / 0.5694 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.443, allocations: 384 / 0.5694 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.443, allocations: 12.84 kB / 0.5694 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4432, allocations: 79.27 kB / 0.5695 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4432, allocations: 8.172 kB / 0.5695 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4432, allocations: 7.938 kB / 0.5695 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4432, allocations: 0 / 0.5695 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.4433, allocations: 35.97 kB / 0.5696 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.4438, allocations: 409 kB / 0.57 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.4441, allocations: 89.38 kB / 0.57 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.4442, allocations: 33.8 kB / 0.5701 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.4442, allocations: 4 kB / 0.5701 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.4442, allocations: 30.56 kB / 0.5701 GB, free: 9.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.4443, allocations: 0 / 0.5701 GB, free: 9.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007015/0.445, allocations: 268.6 kB / 0.5704 GB, free: 9.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.445, allocations: 81.11 kB / 0.5704 GB, free: 9.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.4452, allocations: 223.3 kB / 0.5707 GB, free: 9.336 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.4453, allocations: 25.7 kB / 0.5707 GB, free: 9.305 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.4453, allocations: 108.1 kB / 0.5708 GB, free: 9.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.4453, allocations: 31.55 kB / 0.5708 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.4454, allocations: 8 kB / 0.5708 GB, free: 9.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4455, allocations: 326.8 kB / 0.5711 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.4456, allocations: 35.97 kB / 0.5712 GB, free: 8.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.4457, allocations: 53.62 kB / 0.5712 GB, free: 8.734 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.4458, allocations: 97.67 kB / 0.5713 GB, free: 8.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4459, allocations: 0 / 0.5713 GB, free: 8.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002295/0.4461, allocations: 133.4 kB / 0.5714 GB, free: 8.496 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4461, allocations: 8 kB / 0.5714 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4461, allocations: 256 / 0.5714 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4461, allocations: 0 / 0.5714 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.4462, allocations: 27.98 kB / 0.5715 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4462, allocations: 0 / 0.5715 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.4463, allocations: 12.73 kB / 0.5715 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.4463, allocations: 4 kB / 0.5715 GB, free: 8.445 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 0.0001007/0.4464, allocations: 142.3 kB / 0.5716 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.4465, allocations: 19.69 kB / 0.5716 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.4468, allocations: 151.2 kB / 0.5718 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4468, allocations: 0 / 0.5718 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4468, allocations: 4 kB / 0.5718 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4468, allocations: 3.938 kB / 0.5718 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006165/0.4475, allocations: 0.53 MB / 0.5723 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4475, allocations: 0.6094 kB / 0.5723 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.4476, allocations: 31.95 kB / 0.5723 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4476, allocations: 0 / 0.5723 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4476, allocations: 7.938 kB / 0.5723 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4476, allocations: 0 / 0.5723 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4476, allocations: 3.938 kB / 0.5724 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.4479, allocations: 311.4 kB / 0.5726 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.448, allocations: 100.9 kB / 0.5727 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.448, allocations: 7.938 kB / 0.5728 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4481, allocations: 11.98 kB / 0.5728 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.4482, allocations: 8 kB / 0.5728 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4482, allocations: 7.984 kB / 0.5728 GB, free: 7.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.4483, allocations: 166.5 kB / 0.5729 GB, free: 6.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4483, allocations: 0 / 0.5729 GB, free: 6.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000277/0.4486, allocations: 31.92 kB / 0.573 GB, free: 6.816 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008902/0.4495, allocations: 406.1 kB / 0.5734 GB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.4498, allocations: 95.88 kB / 0.5734 GB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4498, allocations: 4 kB / 0.5735 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.4499, allocations: 51.91 kB / 0.5735 GB, free: 6.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.4502, allocations: 12 kB / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.4508, allocations: 360.6 kB / 0.5739 GB, free: 5.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.4511, allocations: 0.7121 MB / 0.5746 GB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.4512, allocations: 19.44 kB / 0.5746 GB, free: 5.203 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4512, allocations: 4 kB / 0.5746 GB, free: 5.199 MB / 394.7 MB Notification: Performance of Templates: time 0.003393/0.4546, allocations: 1.868 MB / 0.5764 GB, free: 3.336 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches