Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001093, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.342/1.342, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001052/0.001053, allocations: 92.11 kB / 291.8 MB, free: 10.95 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.378/0.378, allocations: 44.12 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009887/0.0009888, allocations: 56.11 kB / 457.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3802, allocations: 60.81 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003379/0.3836, allocations: 1.675 MB / 0.508 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000878/0.3846, allocations: 448 kB / 0.5084 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.3846, allocations: 1.219 kB / 0.5085 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.3853, allocations: 456.1 kB / 0.5089 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.3856, allocations: 236.8 kB / 0.5091 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.386, allocations: 171 kB / 0.5093 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.3862, allocations: 159 kB / 0.5094 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3864, allocations: 22.86 kB / 0.5094 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.3865, allocations: 99.59 kB / 0.5095 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.3867, allocations: 206.9 kB / 0.5097 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.3867, allocations: 2.938 kB / 0.5097 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.3868, allocations: 33.36 kB / 0.5098 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.387, allocations: 78.47 kB / 0.5098 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.3871, allocations: 107.6 kB / 0.51 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.3873, allocations: 246.5 kB / 0.5102 GB, free: 36.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3873, allocations: 0 / 0.5102 GB, free: 36.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3874, allocations: 2.812 kB / 0.5102 GB, free: 36.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3874, allocations: 0 / 0.5102 GB, free: 36.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000626/0.388, allocations: 0.6324 MB / 0.5108 GB, free: 35.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3881, allocations: 13.45 kB / 0.5108 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.3881, allocations: 40.59 kB / 0.5109 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.3884, allocations: 288.7 kB / 0.5111 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3884, allocations: 3.344 kB / 0.5111 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3884, allocations: 3.219 kB / 0.5111 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3886, allocations: 62.67 kB / 0.5112 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3886, allocations: 0 / 0.5112 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3886, allocations: 0 / 0.5112 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3886, allocations: 4 kB / 0.5112 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.3887, allocations: 31.44 kB / 0.5112 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.3892, allocations: 394.3 kB / 0.5116 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3894, allocations: 47.78 kB / 0.5117 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.3895, allocations: 21.14 kB / 0.5117 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3895, allocations: 7.297 kB / 0.5117 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.3895, allocations: 30.56 kB / 0.5117 GB, free: 35.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3895, allocations: 0 / 0.5117 GB, free: 35.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005649/0.3901, allocations: 229 kB / 0.5119 GB, free: 34.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.3901, allocations: 58.25 kB / 0.512 GB, free: 34.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.3908, allocations: 0.8618 MB / 0.5128 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3908, allocations: 27.11 kB / 0.5129 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3909, allocations: 221.3 kB / 0.5131 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.391, allocations: 18.78 kB / 0.5131 GB, free: 34.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.391, allocations: 21.14 kB / 0.5131 GB, free: 34.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3911, allocations: 359.8 kB / 0.5134 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.3912, allocations: 23.42 kB / 0.5135 GB, free: 33.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.3913, allocations: 22.94 kB / 0.5135 GB, free: 33.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3914, allocations: 62.3 kB / 0.5135 GB, free: 33.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3914, allocations: 0 / 0.5135 GB, free: 33.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001982/0.3916, allocations: 115.8 kB / 0.5137 GB, free: 33.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3916, allocations: 5.656 kB / 0.5137 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3916, allocations: 288 / 0.5137 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3917, allocations: 0 / 0.5137 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.3917, allocations: 18.06 kB / 0.5137 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3917, allocations: 0 / 0.5137 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.3918, allocations: 11.03 kB / 0.5137 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3918, allocations: 1.312 kB / 0.5137 GB, free: 33.82 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.392, allocations: 221.2 kB / 0.5139 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.392, allocations: 43.83 kB / 0.5139 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.3923, allocations: 143.3 kB / 0.5141 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3923, allocations: 0 / 0.5141 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3923, allocations: 0 / 0.5141 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3923, allocations: 6.938 kB / 0.5141 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.3928, allocations: 463.4 kB / 0.5145 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3928, allocations: 0 / 0.5145 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.3929, allocations: 14.08 kB / 0.5145 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3929, allocations: 4 kB / 0.5146 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3929, allocations: 3.938 kB / 0.5146 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3929, allocations: 0 / 0.5146 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3929, allocations: 2.812 kB / 0.5146 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.3934, allocations: 0.8714 MB / 0.5154 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.3935, allocations: 117.6 kB / 0.5155 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3935, allocations: 3.469 kB / 0.5155 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.3936, allocations: 4.531 kB / 0.5155 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.3937, allocations: 5.188 kB / 0.5155 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3937, allocations: 0 / 0.5155 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005709/0.3942, allocations: 0.649 MB / 0.5162 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3942, allocations: 3.938 kB / 0.5162 GB, free: 32.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.3946, allocations: 22.86 kB / 0.5162 GB, free: 32.05 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008471/0.3955, allocations: 394.5 kB / 0.5166 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.3957, allocations: 61.95 kB / 0.5166 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3957, allocations: 0 / 0.5166 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.3958, allocations: 24.44 kB / 0.5167 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.3962, allocations: 33.88 kB / 0.5167 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.3973, allocations: 0.9964 MB / 0.5177 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3975, allocations: 0.8316 MB / 0.5185 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.3976, allocations: 16.39 kB / 0.5185 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.3976, allocations: 14.31 kB / 0.5185 GB, free: 30.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3976, allocations: 0 / 0.5185 GB, free: 30.54 MB / 378.7 MB Notification: Performance of Templates: time 0.004789/0.4024, allocations: 1.431 MB / 0.5199 GB, free: 30.36 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches