Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008547/0.0008546, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007431/0.0007428, allocations: 100.7 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2746/0.2746, allocations: 44.15 MB / 388.5 MB, free: 39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 12 kB / 461.1 MB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2675, allocations: 61.88 MB / 0.5107 GB, free: 38.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09585/0.3634, allocations: 88.36 MB / 0.597 GB, free: 6.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.3636, allocations: 79.94 kB / 0.5971 GB, free: 6.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0158/0.3794, allocations: 7.931 MB / 0.6048 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3795, allocations: 0 / 0.6048 GB, free: 14.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.3795, allocations: 4 kB / 0.6048 GB, free: 14.71 MB / 426.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.0005834/0.3801, allocations: 0.6142 MB / 0.6054 GB, free: 14.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3801, allocations: 8.031 kB / 0.6054 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.3802, allocations: 40.47 kB / 0.6055 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.3806, allocations: 352 kB / 0.6058 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-06/0.3806, allocations: 8.375 kB / 0.6058 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3806, allocations: 384 / 0.6058 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.3807, allocations: 53.97 kB / 0.6059 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.3808, allocations: 192 / 0.6059 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3808, allocations: 3.938 kB / 0.6059 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3808, allocations: 0 / 0.6059 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.3809, allocations: 27.97 kB / 0.6059 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.3814, allocations: 432.6 kB / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.3815, allocations: 26.58 kB / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.3815, allocations: 20.91 kB / 0.6064 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3815, allocations: 0 / 0.6064 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.3816, allocations: 42.5 kB / 0.6064 GB, free: 12.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3816, allocations: 0 / 0.6064 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002442/0.3818, allocations: 101.1 kB / 0.6065 GB, free: 12.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.3819, allocations: 51.41 kB / 0.6066 GB, free: 12.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.383, allocations: 0.8458 MB / 0.6074 GB, free: 11.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.383, allocations: 29.7 kB / 0.6074 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3832, allocations: 227.9 kB / 0.6076 GB, free: 11.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.3832, allocations: 4 kB / 0.6076 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.3832, allocations: 0 / 0.6076 GB, free: 11.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3834, allocations: 358.8 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.3834, allocations: 12 kB / 0.608 GB, free: 11.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.3835, allocations: 15.98 kB / 0.608 GB, free: 11.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.967e-05/0.3835, allocations: 28.8 kB / 0.608 GB, free: 11.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3835, allocations: 0 / 0.608 GB, free: 11.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001427/0.3837, allocations: 101 kB / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3837, allocations: 8 kB / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3837, allocations: 4.094 kB / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.3837, allocations: 0 / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.3838, allocations: 4 kB / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3838, allocations: 0 / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.3839, allocations: 4 kB / 0.6081 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3839, allocations: 7.984 kB / 0.6081 GB, free: 11.09 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001642/0.3841, allocations: 205.7 kB / 0.6083 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.3841, allocations: 43.44 kB / 0.6084 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.3843, allocations: 124.2 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3843, allocations: 3.984 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3843, allocations: 0 / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3843, allocations: 0 / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.3846, allocations: 321.4 kB / 0.6088 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3846, allocations: 0 / 0.6088 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.3847, allocations: 11.98 kB / 0.6088 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3847, allocations: 0 / 0.6088 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.3847, allocations: 4.031 kB / 0.6088 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3847, allocations: 4 kB / 0.6088 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3847, allocations: 0 / 0.6088 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3849, allocations: 190.9 kB / 0.609 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.3851, allocations: 156.6 kB / 0.6092 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.3851, allocations: 11.95 kB / 0.6092 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3852, allocations: 8 kB / 0.6092 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.3852, allocations: 0 / 0.6092 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.3853, allocations: 0 / 0.6092 GB, free: 9.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006433/0.3859, allocations: 0.6433 MB / 0.6098 GB, free: 9.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3859, allocations: 3.938 kB / 0.6098 GB, free: 9.285 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.3862, allocations: 55.92 kB / 0.6099 GB, free: 9.23 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006663/0.3869, allocations: 345.8 kB / 0.6102 GB, free: 9.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.387, allocations: 23.98 kB / 0.6102 GB, free: 8.996 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.387, allocations: 0 / 0.6102 GB, free: 8.996 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.387, allocations: 16.05 kB / 0.6102 GB, free: 8.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.3874, allocations: 29.89 kB / 0.6103 GB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.3884, allocations: 0.8855 MB / 0.6111 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3888, allocations: 0.8106 MB / 0.6119 GB, free: 7.203 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.986e-05/0.3889, allocations: 35.98 kB / 0.612 GB, free: 7.168 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.3889, allocations: 27.44 kB / 0.612 GB, free: 7.141 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3889, allocations: 0 / 0.612 GB, free: 7.141 MB / 426.7 MB Notification: Performance of Templates: time 0.00524/0.3942, allocations: 2.254 MB / 0.6142 GB, free: 4.883 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches