Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008287/0.0008288, allocations: 184.1 kB / 18.09 MB, free: 3.727 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.238/1.238, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0007224/0.0007224, allocations: 94.88 kB / 293.3 MB, free: 10.77 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.2818/0.2818, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 15.98 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.272, allocations: 61.87 MB / 0.5107 GB, free: 38.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09466/0.3667, allocations: 88.52 MB / 0.5972 GB, free: 6.551 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.3669, allocations: 75.95 kB / 0.5972 GB, free: 6.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0162/0.3831, allocations: 7.857 MB / 0.6049 GB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3832, allocations: 0 / 0.6049 GB, free: 14.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.3832, allocations: 4 kB / 0.6049 GB, free: 14.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000652/0.3839, allocations: 0.6299 MB / 0.6055 GB, free: 13.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3839, allocations: 8.031 kB / 0.6055 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.384, allocations: 48.38 kB / 0.6056 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.3844, allocations: 344.2 kB / 0.6059 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3844, allocations: 4.375 kB / 0.6059 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3844, allocations: 12.28 kB / 0.6059 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3846, allocations: 54.19 kB / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3846, allocations: 192 / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.3846, allocations: 3.938 kB / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3846, allocations: 0 / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.905e-05/0.3847, allocations: 35.97 kB / 0.606 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.3853, allocations: 428.7 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3854, allocations: 46.58 kB / 0.6065 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.3855, allocations: 28.84 kB / 0.6065 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3855, allocations: 0 / 0.6065 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.3855, allocations: 30.56 kB / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3855, allocations: 0 / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005744/0.3861, allocations: 239.9 kB / 0.6068 GB, free: 12.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.3862, allocations: 55.41 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3873, allocations: 0.8457 MB / 0.6076 GB, free: 11.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3873, allocations: 25.7 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3875, allocations: 228 kB / 0.6079 GB, free: 11.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.3875, allocations: 15.81 kB / 0.6079 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.3875, allocations: 0 / 0.6079 GB, free: 11.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3877, allocations: 366.7 kB / 0.6082 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.3877, allocations: 27.92 kB / 0.6083 GB, free: 10.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.3878, allocations: 19.98 kB / 0.6083 GB, free: 10.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3879, allocations: 56.78 kB / 0.6083 GB, free: 10.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3879, allocations: 0 / 0.6083 GB, free: 10.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00021/0.3882, allocations: 125.1 kB / 0.6085 GB, free: 10.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3882, allocations: 12 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3882, allocations: 3.938 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3882, allocations: 0 / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.3883, allocations: 12 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3883, allocations: 3.984 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.3884, allocations: 11.94 kB / 0.6085 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3884, allocations: 0 / 0.6085 GB, free: 10.7 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 (5): * Single equations (assignments): 5 * 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.0001661/0.3885, allocations: 222.2 kB / 0.6087 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.3886, allocations: 39.53 kB / 0.6088 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.3889, allocations: 141 kB / 0.6089 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3889, allocations: 0 / 0.6089 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3889, allocations: 320 / 0.6089 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3889, allocations: 4 kB / 0.6089 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.3896, allocations: 0.5998 MB / 0.6095 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3896, allocations: 3.984 kB / 0.6095 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.3897, allocations: 12 kB / 0.6095 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3897, allocations: 0 / 0.6095 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3897, allocations: 8 kB / 0.6095 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3897, allocations: 0 / 0.6095 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3897, allocations: 3.938 kB / 0.6095 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.39, allocations: 219 kB / 0.6097 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.3902, allocations: 164.5 kB / 0.6099 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3902, allocations: 0 / 0.6099 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.3903, allocations: 4 kB / 0.6099 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3903, allocations: 15.86 kB / 0.6099 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3904, allocations: 4 kB / 0.6099 GB, free: 9.164 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006442/0.391, allocations: 0.6394 MB / 0.6105 GB, free: 8.527 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.391, allocations: 0 / 0.6105 GB, free: 8.527 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.3913, allocations: 55.98 kB / 0.6106 GB, free: 8.473 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 (5): * Single equations (assignments): 5 * 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.0007795/0.3921, allocations: 412.1 kB / 0.611 GB, free: 8.219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.3923, allocations: 47.97 kB / 0.611 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3923, allocations: 0 / 0.611 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/0.3924, allocations: 39.91 kB / 0.611 GB, free: 8.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3927, allocations: 20.31 kB / 0.6111 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.3939, allocations: 0.8998 MB / 0.6119 GB, free: 7.191 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.3943, allocations: 0.8185 MB / 0.6127 GB, free: 6.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.678e-05/0.3944, allocations: 44.23 kB / 0.6128 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.3945, allocations: 19.44 kB / 0.6128 GB, free: 6.285 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3945, allocations: 0 / 0.6128 GB, free: 6.285 MB / 426.7 MB Notification: Performance of Templates: time 0.005699/0.4002, allocations: 2.446 MB / 0.6152 GB, free: 3.84 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches