Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002195/0.002194, allocations: 178.4 kB / 8.362 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 2.071/2.071, allocations: 205.3 MB / 214.1 MB, free: 14.09 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.001134/0.001134, allocations: 89.58 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.2943/0.2943, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.532e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4234, allocations: 58.84 MB / 477.1 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.5906, allocations: 86.72 MB / 0.5506 GB, free: 12.6 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.591, allocations: 75.95 kB / 0.5507 GB, free: 12.53 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.6103, allocations: 4.291 MB / 0.5548 GB, free: 8.223 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6104, allocations: 0 / 0.5548 GB, free: 8.223 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.6104, allocations: 7.984 kB / 0.5549 GB, free: 8.215 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.0005556/0.611, allocations: 370.3 kB / 0.5552 GB, free: 7.809 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6111, allocations: 12.03 kB / 0.5552 GB, free: 7.797 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.6111, allocations: 11.86 kB / 0.5552 GB, free: 7.785 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.6115, allocations: 190.9 kB / 0.5554 GB, free: 7.559 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.6115, allocations: 4 kB / 0.5554 GB, free: 7.555 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.6115, allocations: 0 / 0.5554 GB, free: 7.555 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/0.6117, allocations: 23.98 kB / 0.5554 GB, free: 7.531 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.6118, allocations: 63.39 kB / 0.5555 GB, free: 7.457 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.6118, allocations: 7.938 kB / 0.5555 GB, free: 7.449 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.6119, allocations: 0 / 0.5555 GB, free: 7.449 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6119, allocations: 0 / 0.5555 GB, free: 7.449 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.6125, allocations: 293.2 kB / 0.5558 GB, free: 7.125 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.6126, allocations: 30.58 kB / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.6127, allocations: 16.94 kB / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.6127, allocations: 4 kB / 0.5558 GB, free: 7.062 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.6128, allocations: 34.56 kB / 0.5559 GB, free: 7.02 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.225e-06/0.6128, allocations: 3.938 kB / 0.5559 GB, free: 7.016 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007401/0.6135, allocations: 149.2 kB / 0.556 GB, free: 6.863 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.6136, allocations: 77.11 kB / 0.5561 GB, free: 6.77 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.6138, allocations: 132.3 kB / 0.5562 GB, free: 6.633 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.6138, allocations: 29.7 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.6139, allocations: 166.4 kB / 0.5564 GB, free: 6.434 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.614, allocations: 15.72 kB / 0.5564 GB, free: 6.418 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.614, allocations: 0 / 0.5564 GB, free: 6.418 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6141, allocations: 318.8 kB / 0.5567 GB, free: 6.098 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.6142, allocations: 16.25 kB / 0.5567 GB, free: 6.082 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.6143, allocations: 37.7 kB / 0.5568 GB, free: 6.039 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.6144, allocations: 20.02 kB / 0.5568 GB, free: 6.02 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6144, allocations: 4.031 kB / 0.5568 GB, free: 6.016 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002137/0.6146, allocations: 85.66 kB / 0.5569 GB, free: 5.926 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.6147, allocations: 4 kB / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.6147, allocations: 320 / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6147, allocations: 0 / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.6149, allocations: 23.98 kB / 0.5569 GB, free: 5.898 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.615, allocations: 3.953 kB / 0.5569 GB, free: 5.895 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.6151, allocations: 19.98 kB / 0.5569 GB, free: 5.875 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.6151, allocations: 3.984 kB / 0.5569 GB, free: 5.871 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 9.938e-05/0.6152, allocations: 104.9 kB / 0.557 GB, free: 5.762 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.6153, allocations: 7.906 kB / 0.557 GB, free: 5.754 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.6156, allocations: 102.2 kB / 0.5571 GB, free: 5.652 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6156, allocations: 0 / 0.5571 GB, free: 5.652 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6157, allocations: 4 kB / 0.5571 GB, free: 5.648 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6157, allocations: 3.953 kB / 0.5571 GB, free: 5.645 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.6163, allocations: 355 kB / 0.5575 GB, free: 5.254 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6163, allocations: 3.938 kB / 0.5575 GB, free: 5.25 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.6165, allocations: 19.98 kB / 0.5575 GB, free: 5.23 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.6165, allocations: 4 kB / 0.5575 GB, free: 5.227 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.6165, allocations: 0 / 0.5575 GB, free: 5.227 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6165, allocations: 0 / 0.5575 GB, free: 5.227 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6165, allocations: 3.953 kB / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.6168, allocations: 179.6 kB / 0.5577 GB, free: 5.031 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.6169, allocations: 92.98 kB / 0.5578 GB, free: 4.922 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.6169, allocations: 0 / 0.5578 GB, free: 4.922 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.6172, allocations: 15.98 kB / 0.5578 GB, free: 4.906 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.6172, allocations: 11.95 kB / 0.5578 GB, free: 4.895 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.6173, allocations: 0 / 0.5578 GB, free: 4.895 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.6174, allocations: 107.3 kB / 0.5579 GB, free: 4.789 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6174, allocations: 0 / 0.5579 GB, free: 4.789 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.6178, allocations: 43.91 kB / 0.5579 GB, free: 4.746 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.001103/0.6189, allocations: 382 kB / 0.5583 GB, free: 4.414 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.6192, allocations: 47.98 kB / 0.5584 GB, free: 4.367 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6192, allocations: 0 / 0.5584 GB, free: 4.367 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.6193, allocations: 31.94 kB / 0.5584 GB, free: 4.336 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.6196, allocations: 16.16 kB / 0.5584 GB, free: 4.32 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.6201, allocations: 169.7 kB / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.6205, allocations: 0.7079 MB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/0.6206, allocations: 19.42 kB / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6206, allocations: 0 / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of Templates: time 0.0057/0.6263, allocations: 1.851 MB / 0.5611 GB, free: 1.52 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches