Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002297/0.002297, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.999/1.999, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001061/0.00106, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3208/0.3208, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.509e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1193, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.606, allocations: 86.96 MB / 0.5577 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.6063, allocations: 72.62 kB / 0.5578 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02924/0.6356, allocations: 7.922 MB / 0.5655 GB, free: 9.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6357, allocations: 3.938 kB / 0.5655 GB, free: 9.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.925e-05/0.6357, allocations: 4 kB / 0.5655 GB, free: 9.512 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007451/0.6365, allocations: 0.5586 MB / 0.5661 GB, free: 8.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6365, allocations: 8.031 kB / 0.5661 GB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.6366, allocations: 47.39 kB / 0.5661 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.6373, allocations: 323.2 kB / 0.5664 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.6374, allocations: 0 / 0.5664 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.6374, allocations: 6.438 kB / 0.5664 GB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.6376, allocations: 51.23 kB / 0.5665 GB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.6376, allocations: 0 / 0.5665 GB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.6376, allocations: 7.938 kB / 0.5665 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.6376, allocations: 0 / 0.5665 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.6377, allocations: 22.83 kB / 0.5665 GB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.6387, allocations: 448.1 kB / 0.5669 GB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.6388, allocations: 34.45 kB / 0.567 GB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.6389, allocations: 24.81 kB / 0.567 GB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.639, allocations: 4 kB / 0.567 GB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.639, allocations: 30.56 kB / 0.567 GB, free: 7.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.415e-06/0.639, allocations: 0 / 0.567 GB, free: 7.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003404/0.6393, allocations: 96.52 kB / 0.5671 GB, free: 7.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.6394, allocations: 51.41 kB / 0.5672 GB, free: 7.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.6414, allocations: 0.7731 MB / 0.5679 GB, free: 7.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.6414, allocations: 29.7 kB / 0.568 GB, free: 7.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.6416, allocations: 236.9 kB / 0.5682 GB, free: 6.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.6417, allocations: 11.16 kB / 0.5682 GB, free: 6.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.6417, allocations: 0 / 0.5682 GB, free: 6.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6418, allocations: 310.8 kB / 0.5685 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.6419, allocations: 11.12 kB / 0.5685 GB, free: 6.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.6419, allocations: 11.25 kB / 0.5685 GB, free: 6.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.642, allocations: 15.48 kB / 0.5685 GB, free: 6.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.642, allocations: 0 / 0.5685 GB, free: 6.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001609/0.6422, allocations: 52.69 kB / 0.5686 GB, free: 6.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6422, allocations: 8 kB / 0.5686 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6422, allocations: 0 / 0.5686 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.6423, allocations: 3.953 kB / 0.5686 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.6424, allocations: 11.98 kB / 0.5686 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.6425, allocations: 0 / 0.5686 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.6426, allocations: 11.91 kB / 0.5686 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.6427, allocations: 0 / 0.5686 GB, free: 6.527 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.211e-05/0.6427, allocations: 106.5 kB / 0.5687 GB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.6429, allocations: 39.53 kB / 0.5688 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.6432, allocations: 114.2 kB / 0.5689 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6432, allocations: 3.938 kB / 0.5689 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6432, allocations: 3.953 kB / 0.5689 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6433, allocations: 0 / 0.5689 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.6437, allocations: 326.3 kB / 0.5692 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6437, allocations: 3.938 kB / 0.5692 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.6439, allocations: 16.22 kB / 0.5692 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.6439, allocations: 4 kB / 0.5692 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.6439, allocations: 0 / 0.5692 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6439, allocations: 0 / 0.5692 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6439, allocations: 0 / 0.5692 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.6442, allocations: 201 kB / 0.5694 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.6445, allocations: 159.1 kB / 0.5695 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.6446, allocations: 3.984 kB / 0.5696 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6447, allocations: 11 kB / 0.5696 GB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.6448, allocations: 4 kB / 0.5696 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.6448, allocations: 0 / 0.5696 GB, free: 5.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001127/0.646, allocations: 0.6382 MB / 0.5702 GB, free: 5.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.646, allocations: 0 / 0.5702 GB, free: 5.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004413/0.6464, allocations: 51.98 kB / 0.5702 GB, free: 5.016 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0009769/0.6474, allocations: 320 kB / 0.5705 GB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.6476, allocations: 23.11 kB / 0.5706 GB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6477, allocations: 4 kB / 0.5706 GB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.6477, allocations: 14.62 kB / 0.5706 GB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.6482, allocations: 25.95 kB / 0.5706 GB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.6501, allocations: 0.7471 MB / 0.5713 GB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.6507, allocations: 0.8349 MB / 0.5722 GB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.6509, allocations: 19.69 kB / 0.5722 GB, free: 3.145 MB / 378.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6509, allocations: 0 / 0.5722 GB, free: 3.145 MB / 378.7 MB Notification: Performance of Templates: time 0.01196/0.6628, allocations: 4.1 MB / 0.5762 GB, free: 15.05 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches