Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009525/0.0009527, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.346/1.346, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007693/0.0007697, allocations: 101.8 kB / 267.1 MB, free: 9.273 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.3825/0.3825, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.051e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.379/0.4985, allocations: 86.99 MB / 0.5578 GB, free: 16.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4988, allocations: 74.25 kB / 0.5578 GB, free: 16.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00977/0.5086, allocations: 4.298 MB / 0.562 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.5086, allocations: 4 kB / 0.562 GB, free: 14.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.5087, allocations: 0 / 0.562 GB, free: 14.63 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.0003123/0.509, allocations: 376.2 kB / 0.5624 GB, free: 14.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.509, allocations: 16.03 kB / 0.5624 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.5091, allocations: 9.312 kB / 0.5624 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.5093, allocations: 194.9 kB / 0.5626 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.5093, allocations: 0 / 0.5626 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.5093, allocations: 4 kB / 0.5626 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.5094, allocations: 64.45 kB / 0.5627 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5094, allocations: 1.375 kB / 0.5627 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5095, allocations: 1.219 kB / 0.5627 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5095, allocations: 8 kB / 0.5627 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.5095, allocations: 14.56 kB / 0.5627 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.5098, allocations: 296.4 kB / 0.563 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.5099, allocations: 34.81 kB / 0.563 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.5099, allocations: 16.48 kB / 0.563 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.51, allocations: 4 kB / 0.563 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.51, allocations: 34.44 kB / 0.5631 GB, free: 13.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.51, allocations: 0 / 0.5631 GB, free: 13.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000424/0.5104, allocations: 137.4 kB / 0.5632 GB, free: 13.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5105, allocations: 77.11 kB / 0.5633 GB, free: 13.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5106, allocations: 139.5 kB / 0.5634 GB, free: 13.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.5106, allocations: 25.7 kB / 0.5634 GB, free: 13.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.5106, allocations: 93.89 kB / 0.5635 GB, free: 13.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.5107, allocations: 19.3 kB / 0.5635 GB, free: 13.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.5107, allocations: 2.938 kB / 0.5635 GB, free: 13.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.5107, allocations: 321 kB / 0.5638 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.5108, allocations: 12.05 kB / 0.5639 GB, free: 12.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.5108, allocations: 33.83 kB / 0.5639 GB, free: 12.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.5108, allocations: 24.05 kB / 0.5639 GB, free: 12.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.5108, allocations: 0 / 0.5639 GB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.566e-05/0.5109, allocations: 77.64 kB / 0.564 GB, free: 12.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.511, allocations: 11.28 kB / 0.564 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.511, allocations: 4.828 kB / 0.564 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.511, allocations: 1.219 kB / 0.564 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5111, allocations: 20.55 kB / 0.564 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5111, allocations: 4 kB / 0.564 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.5112, allocations: 22.83 kB / 0.564 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.5112, allocations: 7.938 kB / 0.564 GB, free: 12.57 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 () * 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 4.714e-05/0.5113, allocations: 101.8 kB / 0.5641 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.5113, allocations: 9.688 kB / 0.5642 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.5115, allocations: 88.62 kB / 0.5642 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.5115, allocations: 5.359 kB / 0.5642 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5115, allocations: 4 kB / 0.5642 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5115, allocations: 8 kB / 0.5643 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.5118, allocations: 355 kB / 0.5646 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5118, allocations: 0 / 0.5646 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.513e-05/0.5119, allocations: 20.92 kB / 0.5646 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5119, allocations: 7.953 kB / 0.5646 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.5119, allocations: 0 / 0.5646 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.512, allocations: 0 / 0.5646 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.512, allocations: 4 kB / 0.5646 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.5121, allocations: 180.2 kB / 0.5648 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.5121, allocations: 87.11 kB / 0.5649 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.5122, allocations: 5.219 kB / 0.5649 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.5123, allocations: 15.19 kB / 0.5649 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.5123, allocations: 6.672 kB / 0.5649 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.5123, allocations: 7 kB / 0.5649 GB, free: 11.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.5124, allocations: 109.2 kB / 0.565 GB, free: 11.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5124, allocations: 0 / 0.565 GB, free: 11.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.5127, allocations: 36.86 kB / 0.5651 GB, free: 11.59 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 () * 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.0008182/0.5135, allocations: 403.8 kB / 0.5654 GB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.5136, allocations: 49.19 kB / 0.5655 GB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5136, allocations: 0 / 0.5655 GB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.5137, allocations: 24.45 kB / 0.5655 GB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.5139, allocations: 8.906 kB / 0.5655 GB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.5141, allocations: 129.3 kB / 0.5656 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.5143, allocations: 0.6959 MB / 0.5663 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.5144, allocations: 13.98 kB / 0.5663 GB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.5144, allocations: 18.58 kB / 0.5664 GB, free: 10.36 MB / 394.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5144, allocations: 0 / 0.5664 GB, free: 10.36 MB / 394.7 MB Notification: Performance of Templates: time 0.003444/0.5179, allocations: 1.434 MB / 0.5678 GB, free: 9.371 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches