Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.91/1.91, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001099/0.001099, allocations: 91.25 kB / 270.9 MB, free: 8.379 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.5053/0.5053, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006347/0.0006347, allocations: 19.94 kB / 431.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1271, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.5846, allocations: 87.09 MB / 0.5638 GB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.585, allocations: 71.95 kB / 0.5638 GB, free: 15.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01883/0.6038, allocations: 4.477 MB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6039, allocations: 0 / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.6039, allocations: 4 kB / 0.5682 GB, free: 10.95 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.0005799/0.6045, allocations: 397.7 kB / 0.5686 GB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.6046, allocations: 16 kB / 0.5686 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.6046, allocations: 11.34 kB / 0.5686 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.6049, allocations: 187 kB / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6049, allocations: 7.938 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.605, allocations: 4 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.6052, allocations: 75.39 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6052, allocations: 0 / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.6053, allocations: 1.031 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.6053, allocations: 0 / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.6055, allocations: 43.97 kB / 0.5689 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.606, allocations: 300.7 kB / 0.5692 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.6062, allocations: 46.56 kB / 0.5693 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.6062, allocations: 96 / 0.5693 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6063, allocations: 34.55 kB / 0.5693 GB, free: 9.695 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.6063, allocations: 0 / 0.5693 GB, free: 9.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001236/0.6075, allocations: 249.1 kB / 0.5695 GB, free: 9.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.6076, allocations: 77.66 kB / 0.5696 GB, free: 9.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.6078, allocations: 129.2 kB / 0.5697 GB, free: 9.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6078, allocations: 25.7 kB / 0.5698 GB, free: 9.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.6079, allocations: 154.6 kB / 0.5699 GB, free: 9.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.608, allocations: 27.64 kB / 0.5699 GB, free: 9.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.608, allocations: 0.5469 kB / 0.5699 GB, free: 9.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6081, allocations: 319.8 kB / 0.5702 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.6084, allocations: 39.97 kB / 0.5703 GB, free: 8.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.6086, allocations: 61.62 kB / 0.5703 GB, free: 8.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.6088, allocations: 44.03 kB / 0.5704 GB, free: 8.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6089, allocations: 3.938 kB / 0.5704 GB, free: 8.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004929/0.6094, allocations: 126.4 kB / 0.5705 GB, free: 8.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6094, allocations: 4 kB / 0.5705 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6094, allocations: 1.969 kB / 0.5705 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.6094, allocations: 3.953 kB / 0.5705 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.6096, allocations: 27.98 kB / 0.5705 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6097, allocations: 0 / 0.5705 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.6098, allocations: 16.73 kB / 0.5705 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.6098, allocations: 0 / 0.5705 GB, free: 8.352 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.0001157/0.61, allocations: 121.8 kB / 0.5707 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.61, allocations: 11.91 kB / 0.5707 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/0.6106, allocations: 139.4 kB / 0.5708 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6106, allocations: 7.953 kB / 0.5708 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6106, allocations: 0 / 0.5708 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6106, allocations: 0 / 0.5708 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000856/0.6115, allocations: 414.4 kB / 0.5712 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6115, allocations: 0 / 0.5712 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.6117, allocations: 23.98 kB / 0.5712 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.6117, allocations: 3.953 kB / 0.5712 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6117, allocations: 0 / 0.5712 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6117, allocations: 0 / 0.5712 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6117, allocations: 4 kB / 0.5712 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.6123, allocations: 235.3 kB / 0.5715 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.6124, allocations: 85.02 kB / 0.5715 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.6124, allocations: 9.641 kB / 0.5716 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.6126, allocations: 11.98 kB / 0.5716 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.6127, allocations: 7.984 kB / 0.5716 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.6127, allocations: 0 / 0.5716 GB, free: 7.199 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.6128, allocations: 122.9 kB / 0.5717 GB, free: 7.082 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6128, allocations: 0 / 0.5717 GB, free: 7.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.6132, allocations: 39.88 kB / 0.5717 GB, free: 7.043 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.001275/0.6145, allocations: 444.8 kB / 0.5722 GB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.615, allocations: 99.86 kB / 0.5722 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.615, allocations: 0 / 0.5722 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.6153, allocations: 55.91 kB / 0.5723 GB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.6156, allocations: 15.98 kB / 0.5723 GB, free: 6.531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.6162, allocations: 217.2 kB / 0.5725 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.6165, allocations: 0.7004 MB / 0.5732 GB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.6166, allocations: 15.44 kB / 0.5732 GB, free: 5.555 MB / 394.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6166, allocations: 3.938 kB / 0.5732 GB, free: 5.551 MB / 394.7 MB Notification: Performance of Templates: time 0.004982/0.6216, allocations: 1.771 MB / 0.575 GB, free: 3.781 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches