Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/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/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/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1223/0.1223, allocations: 23.02 MB / 38.66 MB, free: 1.43 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008739/0.008739, allocations: 1.441 MB / 47.31 MB, free: 2.109 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 104 kB / 54.94 MB, free: 6.094 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 195.5 kB / 62.69 MB, free: 14.64 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 293.2 MB, free: 13.25 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8162/0.8162, allocations: 127.5 MB / 477.6 MB, free: 92 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003339/0.003339, allocations: 135.8 kB / 0.6423 GB, free: 12.78 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3652, allocations: 82.42 MB / 0.7228 GB, free: 9.59 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001846/0.3671, allocations: 1.019 MB / 0.7238 GB, free: 8.836 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0004684/0.3675, allocations: 210.9 kB / 0.724 GB, free: 8.676 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.3676, allocations: 0 / 0.724 GB, free: 8.676 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 6.439e-05/0.3677, allocations: 5.562 kB / 0.724 GB, free: 8.672 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.3677, allocations: 0 / 0.724 GB, free: 8.672 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.368, allocations: 78.38 kB / 0.7241 GB, free: 8.621 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.3681, allocations: 2.406 kB / 0.7241 GB, free: 8.621 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 3.026e-05/0.3681, allocations: 5.375 kB / 0.7241 GB, free: 8.617 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/0.3682, allocations: 1.375 kB / 0.7241 GB, free: 8.617 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 1.823e-05/0.3682, allocations: 5.391 kB / 0.7241 GB, free: 8.613 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.3682, allocations: 0 / 0.7241 GB, free: 8.613 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3683, allocations: 84.84 kB / 0.7242 GB, free: 8.562 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.3684, allocations: 6.484 kB / 0.7242 GB, free: 8.559 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.3684, allocations: 7.938 kB / 0.7242 GB, free: 8.551 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.3685, allocations: 52.83 kB / 0.7243 GB, free: 8.52 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.3685, allocations: 0 / 0.7243 GB, free: 8.52 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3685, allocations: 1.438 kB / 0.7243 GB, free: 8.52 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.3686, allocations: 0 / 0.7243 GB, free: 8.52 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003254/0.3689, allocations: 330 kB / 0.7246 GB, free: 8.156 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.3689, allocations: 10.09 kB / 0.7246 GB, free: 8.156 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.3689, allocations: 1.781 kB / 0.7246 GB, free: 8.156 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3691, allocations: 165.8 kB / 0.7248 GB, free: 7.957 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.3691, allocations: 4.375 kB / 0.7248 GB, free: 7.953 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.3691, allocations: 2.125 kB / 0.7248 GB, free: 7.953 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.3692, allocations: 42.77 kB / 0.7248 GB, free: 7.91 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.3692, allocations: 192 / 0.7248 GB, free: 7.91 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3692, allocations: 3.938 kB / 0.7248 GB, free: 7.906 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.3693, allocations: 1.906 kB / 0.7248 GB, free: 7.906 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.73e-05/0.3693, allocations: 4.281 kB / 0.7248 GB, free: 7.906 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.3695, allocations: 158.2 kB / 0.725 GB, free: 7.707 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 6.769e-05/0.3695, allocations: 34.27 kB / 0.725 GB, free: 7.676 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.3696, allocations: 13.45 kB / 0.725 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.3696, allocations: 1.188 kB / 0.725 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3696, allocations: 34.5 kB / 0.725 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3696, allocations: 1.594 kB / 0.725 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3): time 0.0001195/0.3697, allocations: 53.19 kB / 0.7251 GB, free: 7.578 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3698, allocations: 52.5 kB / 0.7251 GB, free: 7.516 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/0.3698, allocations: 96.14 kB / 0.7252 GB, free: 7.414 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.3699, allocations: 25.7 kB / 0.7253 GB, free: 7.383 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.3699, allocations: 81.36 kB / 0.7253 GB, free: 7.301 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3699, allocations: 9.234 kB / 0.7254 GB, free: 7.293 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.37, allocations: 20.25 kB / 0.7254 GB, free: 7.27 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3701, allocations: 312.1 kB / 0.7257 GB, free: 6.957 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.3701, allocations: 3.625 kB / 0.7257 GB, free: 6.957 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.607e-06/0.3701, allocations: 5.062 kB / 0.7257 GB, free: 6.957 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.3702, allocations: 30.59 kB / 0.7257 GB, free: 6.934 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3702, allocations: 1.219 kB / 0.7257 GB, free: 6.934 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.204e-05/0.3702, allocations: 46.33 kB / 0.7258 GB, free: 6.895 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3703, allocations: 8.438 kB / 0.7258 GB, free: 6.895 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3703, allocations: 3.938 kB / 0.7258 GB, free: 6.891 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.3703, allocations: 0 / 0.7258 GB, free: 6.891 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.3703, allocations: 1.156 kB / 0.7258 GB, free: 6.891 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3703, allocations: 0 / 0.7258 GB, free: 6.891 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.3703, allocations: 5.031 kB / 0.7258 GB, free: 6.887 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3703, allocations: 0 / 0.7258 GB, free: 6.887 MB / 0.5138 GB 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 6.727e-05/0.3704, allocations: 116 kB / 0.7259 GB, free: 6.766 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.3704, allocations: 5.125 kB / 0.7259 GB, free: 6.762 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.306e-05/0.3704, allocations: 8.5 kB / 0.7259 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3704, allocations: 1.156 kB / 0.7259 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3704, allocations: 0 / 0.7259 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3705, allocations: 1.156 kB / 0.7259 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.3706, allocations: 158.1 kB / 0.726 GB, free: 6.551 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3706, allocations: 0 / 0.726 GB, free: 6.551 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3706, allocations: 3.938 kB / 0.726 GB, free: 6.547 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3706, allocations: 5.062 kB / 0.7261 GB, free: 6.543 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3706, allocations: 3.938 kB / 0.7261 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3706, allocations: 1.125 kB / 0.7261 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3706, allocations: 0 / 0.7261 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.195e-05/0.3707, allocations: 71.42 kB / 0.7261 GB, free: 6.465 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.3707, allocations: 78.52 kB / 0.7262 GB, free: 6.371 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.3708, allocations: 3.938 kB / 0.7262 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-06/0.3708, allocations: 9.391 kB / 0.7262 GB, free: 6.359 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.3708, allocations: 4.031 kB / 0.7262 GB, free: 6.355 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3708, allocations: 1.344 kB / 0.7262 GB, free: 6.355 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.3708, allocations: 76.72 kB / 0.7263 GB, free: 6.281 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3708, allocations: 0 / 0.7263 GB, free: 6.281 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002032/0.3711, allocations: 16.09 kB / 0.7263 GB, free: 6.281 MB / 0.5138 GB 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001547/0.3712, allocations: 117.7 kB / 0.7264 GB, free: 6.18 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 6.318e-05/0.3713, allocations: 14.72 kB / 0.7264 GB, free: 6.176 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.3713, allocations: 4.156 kB / 0.7264 GB, free: 6.172 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.3713, allocations: 10.52 kB / 0.7264 GB, free: 6.168 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.3714, allocations: 1.062 kB / 0.7264 GB, free: 6.168 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001714/0.3716, allocations: 96.69 kB / 0.7265 GB, free: 6.062 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.3719, allocations: 0.673 MB / 0.7272 GB, free: 5.367 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.3719, allocations: 1.562 kB / 0.7272 GB, free: 5.367 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.3719, allocations: 13.3 kB / 0.7272 GB, free: 5.355 MB / 0.5138 GB Notification: Performance of SimCode: time 1.984e-06/0.3719, allocations: 0 / 0.7272 GB, free: 5.355 MB / 0.5138 GB Notification: Performance of Templates: time 0.08947/0.4614, allocations: 0.6165 MB / 0.7278 GB, free: 5.035 MB / 0.5138 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches