Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001608, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001171, allocations: 96.03 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3127/0.3127, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.938e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4284, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.5907, allocations: 86.08 MB / 0.55 GB, free: 13.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5911, allocations: 71.97 kB / 0.55 GB, free: 13.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01756/0.6086, allocations: 4.072 MB / 0.554 GB, free: 9.078 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6087, allocations: 0 / 0.554 GB, free: 9.078 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.6087, allocations: 0 / 0.554 GB, free: 9.078 MB / 395.1 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.0005455/0.6093, allocations: 390.7 kB / 0.5544 GB, free: 8.652 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6093, allocations: 12.03 kB / 0.5544 GB, free: 8.641 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.6094, allocations: 11.86 kB / 0.5544 GB, free: 8.629 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.6097, allocations: 195.5 kB / 0.5546 GB, free: 8.395 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.6097, allocations: 0 / 0.5546 GB, free: 8.395 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.6098, allocations: 4 kB / 0.5546 GB, free: 8.391 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.518e-05/0.6099, allocations: 16 kB / 0.5546 GB, free: 8.375 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.61, allocations: 41.69 kB / 0.5547 GB, free: 8.328 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.61, allocations: 7.938 kB / 0.5547 GB, free: 8.32 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.6101, allocations: 7.938 kB / 0.5547 GB, free: 8.312 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6101, allocations: 0 / 0.5547 GB, free: 8.312 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.6106, allocations: 273.3 kB / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.18e-05/0.6107, allocations: 30.58 kB / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.6107, allocations: 12.86 kB / 0.555 GB, free: 7.953 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.6108, allocations: 4 kB / 0.555 GB, free: 7.949 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6108, allocations: 30.56 kB / 0.555 GB, free: 7.91 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.6108, allocations: 4 kB / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006445/0.6115, allocations: 141.3 kB / 0.5551 GB, free: 7.762 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.6115, allocations: 55.41 kB / 0.5552 GB, free: 7.695 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.6118, allocations: 151.3 kB / 0.5553 GB, free: 7.535 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.6118, allocations: 29.7 kB / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.6119, allocations: 162.5 kB / 0.5555 GB, free: 7.34 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.6119, allocations: 23.66 kB / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.612, allocations: 0 / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6121, allocations: 318.8 kB / 0.5558 GB, free: 6.996 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/0.6122, allocations: 16 kB / 0.5559 GB, free: 6.98 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.6122, allocations: 15.94 kB / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.6123, allocations: 12 kB / 0.5559 GB, free: 6.953 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6123, allocations: 7.938 kB / 0.5559 GB, free: 6.945 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001638/0.6125, allocations: 69.75 kB / 0.556 GB, free: 6.871 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6125, allocations: 4 kB / 0.556 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6125, allocations: 0 / 0.556 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6126, allocations: 0 / 0.556 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.6128, allocations: 23.98 kB / 0.556 GB, free: 6.844 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.6128, allocations: 3.953 kB / 0.556 GB, free: 6.84 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.6129, allocations: 15.98 kB / 0.556 GB, free: 6.824 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.6129, allocations: 4 kB / 0.556 GB, free: 6.82 MB / 395.1 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 (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 8.575e-05/0.613, allocations: 104.9 kB / 0.5561 GB, free: 6.711 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.526e-05/0.6131, allocations: 7.906 kB / 0.5561 GB, free: 6.703 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.6133, allocations: 82.3 kB / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.6134, allocations: 0 / 0.5562 GB, free: 6.621 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.6134, allocations: 7.984 kB / 0.5562 GB, free: 6.613 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6134, allocations: 3.953 kB / 0.5562 GB, free: 6.609 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.6139, allocations: 339 kB / 0.5565 GB, free: 6.234 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6139, allocations: 0 / 0.5565 GB, free: 6.234 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.6141, allocations: 23.98 kB / 0.5566 GB, free: 6.211 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6141, allocations: 0 / 0.5566 GB, free: 6.211 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.6142, allocations: 0 / 0.5566 GB, free: 6.211 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6142, allocations: 0 / 0.5566 GB, free: 6.211 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6142, allocations: 3.953 kB / 0.5566 GB, free: 6.207 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.6144, allocations: 171.9 kB / 0.5567 GB, free: 6.023 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6146, allocations: 97.14 kB / 0.5568 GB, free: 5.91 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.6146, allocations: 0 / 0.5568 GB, free: 5.91 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.6148, allocations: 11.98 kB / 0.5568 GB, free: 5.898 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.6148, allocations: 15.92 kB / 0.5568 GB, free: 5.883 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.6149, allocations: 4 kB / 0.5568 GB, free: 5.879 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.615, allocations: 136.5 kB / 0.557 GB, free: 5.746 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.615, allocations: 0 / 0.557 GB, free: 5.746 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.6154, allocations: 19.98 kB / 0.557 GB, free: 5.727 MB / 395.1 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 (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.001014/0.6164, allocations: 332.2 kB / 0.5573 GB, free: 5.438 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.6166, allocations: 47.97 kB / 0.5574 GB, free: 5.391 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6166, allocations: 0 / 0.5574 GB, free: 5.391 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.6167, allocations: 31.88 kB / 0.5574 GB, free: 5.359 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.617, allocations: 19.23 kB / 0.5574 GB, free: 5.344 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.6176, allocations: 165.9 kB / 0.5576 GB, free: 5.156 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.618, allocations: 0.708 MB / 0.5583 GB, free: 4.422 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.618, allocations: 19.42 kB / 0.5583 GB, free: 4.402 MB / 395.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6181, allocations: 4 kB / 0.5583 GB, free: 4.398 MB / 395.1 MB Notification: Performance of Templates: time 0.005018/0.6231, allocations: 1.632 MB / 0.5599 GB, free: 2.773 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches