Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 181.3 kB / 17.41 MB, free: 4.41 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.631/1.631, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.000757/0.0007571, allocations: 84.44 kB / 271.9 MB, free: 8.258 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.3245/0.3245, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 12 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2777/0.3808, allocations: 86.84 MB / 0.5647 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.3811, allocations: 79.95 kB / 0.5648 GB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01604/0.3971, allocations: 7.751 MB / 0.5724 GB, free: 7.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3971, allocations: 0 / 0.5724 GB, free: 7.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.3972, allocations: 4 kB / 0.5724 GB, free: 7.633 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006677/0.3978, allocations: 0.6405 MB / 0.573 GB, free: 6.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3979, allocations: 16.03 kB / 0.573 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.398, allocations: 40.38 kB / 0.5731 GB, free: 6.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.3984, allocations: 349.2 kB / 0.5734 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3984, allocations: 384 / 0.5734 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3984, allocations: 8.375 kB / 0.5734 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3986, allocations: 62.8 kB / 0.5735 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3986, allocations: 192 / 0.5735 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3986, allocations: 11.92 kB / 0.5735 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3986, allocations: 0 / 0.5735 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3988, allocations: 43.97 kB / 0.5735 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.3993, allocations: 432.7 kB / 0.5739 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3995, allocations: 54.5 kB / 0.574 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.112e-05/0.3995, allocations: 28.94 kB / 0.574 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3996, allocations: 3.984 kB / 0.574 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3996, allocations: 30.56 kB / 0.574 GB, free: 5.773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3996, allocations: 4 kB / 0.574 GB, free: 5.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008016/0.4004, allocations: 319.8 kB / 0.5743 GB, free: 5.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4005, allocations: 55.41 kB / 0.5744 GB, free: 5.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.4016, allocations: 0.8417 MB / 0.5752 GB, free: 4.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.4017, allocations: 29.7 kB / 0.5753 GB, free: 4.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.4018, allocations: 212.1 kB / 0.5755 GB, free: 4.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.4018, allocations: 23.66 kB / 0.5755 GB, free: 4.262 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.4019, allocations: 0 / 0.5755 GB, free: 4.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.402, allocations: 366.9 kB / 0.5758 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.4021, allocations: 44.05 kB / 0.5759 GB, free: 3.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.931e-05/0.4022, allocations: 44.02 kB / 0.5759 GB, free: 3.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.4025, allocations: 92.81 kB / 0.576 GB, free: 3.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4025, allocations: 3.938 kB / 0.576 GB, free: 3.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003018/0.4028, allocations: 161 kB / 0.5762 GB, free: 3.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4028, allocations: 8 kB / 0.5762 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4028, allocations: 0.5625 kB / 0.5762 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4028, allocations: 0 / 0.5762 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.403, allocations: 23.98 kB / 0.5762 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.403, allocations: 4 kB / 0.5762 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.4031, allocations: 15.98 kB / 0.5762 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.4031, allocations: 6.125 kB / 0.5762 GB, free: 3.492 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001888/0.4033, allocations: 217.7 kB / 0.5764 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.4034, allocations: 48.17 kB / 0.5765 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.4037, allocations: 177.4 kB / 0.5766 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4037, allocations: 0 / 0.5766 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4037, allocations: 0 / 0.5766 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4037, allocations: 0 / 0.5766 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/0.4046, allocations: 0.6427 MB / 0.5773 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4046, allocations: 4 kB / 0.5773 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.256e-05/0.4047, allocations: 23.98 kB / 0.5773 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4047, allocations: 3.938 kB / 0.5773 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4047, allocations: 4 kB / 0.5773 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4047, allocations: 0 / 0.5773 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4047, allocations: 3.938 kB / 0.5773 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.4051, allocations: 263.3 kB / 0.5776 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.4052, allocations: 164.5 kB / 0.5777 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.4053, allocations: 0 / 0.5777 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4054, allocations: 19.8 kB / 0.5777 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.4054, allocations: 19.86 kB / 0.5777 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.4055, allocations: 4 kB / 0.5777 GB, free: 1.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006977/0.4062, allocations: 0.6355 MB / 0.5784 GB, free: 1.176 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4062, allocations: 0 / 0.5784 GB, free: 1.176 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.4065, allocations: 59.94 kB / 0.5784 GB, free: 1.117 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008599/0.4073, allocations: 410.2 kB / 0.5788 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.4076, allocations: 95.92 kB / 0.5789 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4077, allocations: 0 / 0.5789 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.4078, allocations: 51.91 kB / 0.579 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4081, allocations: 21.95 kB / 0.579 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.4093, allocations: 0.9681 MB / 0.5799 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.4096, allocations: 0.8223 MB / 0.5807 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.4097, allocations: 19.44 kB / 0.5807 GB, free: 14.78 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4097, allocations: 0 / 0.5807 GB, free: 14.78 MB / 410.7 MB Notification: Performance of Templates: time 0.007004/0.4167, allocations: 4.342 MB / 0.585 GB, free: 10.43 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches