Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002411/0.002411, allocations: 180.9 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 2.263/2.263, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001154/0.001154, allocations: 82.66 kB / 267.5 MB, free: 14.12 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.2744/0.2744, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.306e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4747/0.5877, allocations: 86.12 MB / 0.5569 GB, free: 1.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.5881, allocations: 84.47 kB / 0.557 GB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01031/0.5984, allocations: 2.981 MB / 0.5599 GB, free: 15.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5984, allocations: 4 kB / 0.5599 GB, free: 15.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.5985, allocations: 0 / 0.5599 GB, free: 15.12 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003683/0.5988, allocations: 350 kB / 0.5602 GB, free: 14.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5989, allocations: 8.031 kB / 0.5602 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.5989, allocations: 15.52 kB / 0.5602 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.5991, allocations: 174.6 kB / 0.5604 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.5992, allocations: 4 kB / 0.5604 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.5992, allocations: 11.19 kB / 0.5604 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.5995, allocations: 182.6 kB / 0.5606 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5995, allocations: 4 kB / 0.5606 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.5995, allocations: 3.984 kB / 0.5606 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-05/0.5996, allocations: 15.92 kB / 0.5606 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.5997, allocations: 58.27 kB / 0.5607 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.601, allocations: 1.704 MB / 0.5623 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.6012, allocations: 169.2 kB / 0.5625 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.6012, allocations: 88.16 kB / 0.5626 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.6013, allocations: 75.28 kB / 0.5627 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.6014, allocations: 105.8 kB / 0.5628 GB, free: 12.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.645e-06/0.6014, allocations: 0 / 0.5628 GB, free: 12.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.853e-05/0.6015, allocations: 44.62 kB / 0.5628 GB, free: 11.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.6016, allocations: 138.5 kB / 0.5629 GB, free: 11.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.6018, allocations: 170.2 kB / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.6019, allocations: 25.7 kB / 0.5631 GB, free: 11.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.602, allocations: 217.4 kB / 0.5633 GB, free: 11.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.602, allocations: 3.984 kB / 0.5633 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-06/0.602, allocations: 3.438 kB / 0.5633 GB, free: 11.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6022, allocations: 318.1 kB / 0.5636 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.6023, allocations: 37.36 kB / 0.5637 GB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.6025, allocations: 150.7 kB / 0.5638 GB, free: 10.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.6026, allocations: 62.78 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6027, allocations: 0 / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004391/0.6031, allocations: 197.1 kB / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.6032, allocations: 8 kB / 0.5641 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6032, allocations: 8.031 kB / 0.5641 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.6032, allocations: 8 kB / 0.5641 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.6035, allocations: 35.92 kB / 0.5641 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.6035, allocations: 7.938 kB / 0.5641 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.6037, allocations: 23.72 kB / 0.5642 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.6037, allocations: 19.98 kB / 0.5642 GB, free: 10.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000109/0.6038, allocations: 192.1 kB / 0.5644 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.6039, allocations: 116.8 kB / 0.5645 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.604, allocations: 120 kB / 0.5646 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.669e-05/0.6041, allocations: 180.2 kB / 0.5648 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.131e-05/0.6042, allocations: 180.3 kB / 0.5649 GB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.909e-05/0.6042, allocations: 184 kB / 0.5651 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.6046, allocations: 419.6 kB / 0.5655 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/0.6046, allocations: 108.9 kB / 0.5656 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.6047, allocations: 101 kB / 0.5657 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-05/0.6047, allocations: 184.2 kB / 0.5659 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/0.6048, allocations: 183.5 kB / 0.5661 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.8e-05/0.6049, allocations: 184.2 kB / 0.5662 GB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.255e-05/0.605, allocations: 184.2 kB / 0.5664 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.6052, allocations: 315.2 kB / 0.5667 GB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.6053, allocations: 190 kB / 0.5669 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.6054, allocations: 180.2 kB / 0.5671 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.6055, allocations: 108.9 kB / 0.5672 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.6056, allocations: 183.5 kB / 0.5673 GB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.6056, allocations: 108.9 kB / 0.5674 GB, free: 7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.6058, allocations: 126.9 kB / 0.5676 GB, free: 6.887 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6058, allocations: 4 kB / 0.5676 GB, free: 6.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.6062, allocations: 14.81 kB / 0.5676 GB, free: 6.871 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 (0): * Single equations (assignments): 0 * 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.0005787/0.6068, allocations: 267.3 kB / 0.5678 GB, free: 6.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.607, allocations: 69.92 kB / 0.5679 GB, free: 6.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.607, allocations: 0 / 0.5679 GB, free: 6.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.6071, allocations: 352 / 0.5679 GB, free: 6.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.6074, allocations: 0.533 MB / 0.5684 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.6078, allocations: 224.6 kB / 0.5686 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.6081, allocations: 0.6995 MB / 0.5693 GB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.6082, allocations: 21.94 kB / 0.5693 GB, free: 5.066 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6082, allocations: 0 / 0.5693 GB, free: 5.066 MB / 378.7 MB Notification: Performance of Templates: time 0.003961/0.6122, allocations: 1.3 MB / 0.5706 GB, free: 3.773 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches