Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2338/0.2338, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.91 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4203, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003172/0.4235, allocations: 1.635 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.4248, allocations: 450.2 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.4249, allocations: 1.188 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009652/0.4258, allocations: 455 kB / 0.5214 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005534/0.4265, allocations: 257.1 kB / 0.5216 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.4271, allocations: 175 kB / 0.5218 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.4275, allocations: 173.2 kB / 0.522 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.4277, allocations: 21.61 kB / 0.522 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.4279, allocations: 112.1 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.4283, allocations: 212 kB / 0.5223 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.4283, allocations: 7.75 kB / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.4285, allocations: 50.47 kB / 0.5224 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.4287, allocations: 83.25 kB / 0.5224 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.4288, allocations: 105.3 kB / 0.5225 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.4293, allocations: 268.7 kB / 0.5228 GB, free: 1.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4293, allocations: 0 / 0.5228 GB, free: 1.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4293, allocations: 1.344 kB / 0.5228 GB, free: 1.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.4294, allocations: 0 / 0.5228 GB, free: 1.723 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007799/0.4301, allocations: 0.6385 MB / 0.5234 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4302, allocations: 9.75 kB / 0.5234 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.4303, allocations: 43.58 kB / 0.5235 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.4306, allocations: 298.6 kB / 0.5237 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4306, allocations: 5.344 kB / 0.5238 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4307, allocations: 3.875 kB / 0.5238 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.4309, allocations: 73.61 kB / 0.5238 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4309, allocations: 1.344 kB / 0.5238 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4309, allocations: 4 kB / 0.5238 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.431, allocations: 1.25 kB / 0.5238 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.4311, allocations: 35.02 kB / 0.5239 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.4317, allocations: 403.9 kB / 0.5243 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.4319, allocations: 46.19 kB / 0.5243 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.432, allocations: 18.72 kB / 0.5243 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.432, allocations: 2.875 kB / 0.5243 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.432, allocations: 39.66 kB / 0.5244 GB, free: 380 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.432, allocations: 0 / 0.5244 GB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001208/0.4332, allocations: 319.7 kB / 0.5247 GB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.4333, allocations: 56.84 kB / 0.5247 GB, free: 160 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.4346, allocations: 0.8584 MB / 0.5256 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4346, allocations: 25.7 kB / 0.5256 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.4348, allocations: 226.2 kB / 0.5258 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.4349, allocations: 22.39 kB / 0.5258 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.435, allocations: 24.59 kB / 0.5258 GB, free: 15.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.4352, allocations: 367.2 kB / 0.5262 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4354, allocations: 28.48 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.4355, allocations: 33.84 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.4358, allocations: 70.73 kB / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4358, allocations: 0 / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004146/0.4362, allocations: 151 kB / 0.5265 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4362, allocations: 8.688 kB / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4363, allocations: 1.406 kB / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4363, allocations: 432 / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.4364, allocations: 17.73 kB / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4365, allocations: 5.469 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.519e-05/0.4366, allocations: 2.906 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.4366, allocations: 2.844 kB / 0.5265 GB, free: 15.02 MB / 398.1 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 (8): * Single equations (assignments): 8 * 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.0003207/0.4369, allocations: 214.5 kB / 0.5267 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.437, allocations: 46.41 kB / 0.5267 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.4375, allocations: 181.3 kB / 0.5269 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4376, allocations: 1.906 kB / 0.5269 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4376, allocations: 7.875 kB / 0.5269 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4376, allocations: 0 / 0.5269 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.4386, allocations: 0.5149 MB / 0.5274 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.4386, allocations: 3.938 kB / 0.5274 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.4388, allocations: 17.8 kB / 0.5275 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4388, allocations: 5.156 kB / 0.5275 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4388, allocations: 2.281 kB / 0.5275 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4388, allocations: 3.938 kB / 0.5275 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4388, allocations: 0.9375 kB / 0.5275 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.4393, allocations: 246.9 kB / 0.5277 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4394, allocations: 118 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.4394, allocations: 1.062 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.4396, allocations: 4.25 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.4397, allocations: 7.516 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.4397, allocations: 6.562 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009778/0.4407, allocations: 0.6467 MB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4407, allocations: 5.188 kB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004946/0.4412, allocations: 29.58 kB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001442/0.4426, allocations: 470.1 kB / 0.5289 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.443, allocations: 71.67 kB / 0.529 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.443, allocations: 0.6562 kB / 0.529 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.4432, allocations: 40.52 kB / 0.529 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.4437, allocations: 29.77 kB / 0.5291 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.4452, allocations: 0.8179 MB / 0.5299 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.4457, allocations: 0.8364 MB / 0.5307 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.555e-05/0.4458, allocations: 22.84 kB / 0.5307 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.4459, allocations: 15.33 kB / 0.5307 GB, free: 12.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4459, allocations: 0 / 0.5307 GB, free: 12.09 MB / 398.1 MB Notification: Performance of Templates: time 0.006049/0.4519, allocations: 1.746 MB / 0.5324 GB, free: 11.22 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches