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/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-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 TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.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/SMArtIInt 0.2.2-main/package.mo): time 0.01456/0.01456, allocations: 1.435 MB / 17.07 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1106/0.1106, allocations: 22.37 MB / 40.49 MB, free: 0.5156 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 116.6 kB / 47.98 MB, free: 2.125 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 195.7 kB / 55.58 MB, free: 6.156 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.329/1.329, allocations: 222.9 MB / 285.9 MB, free: 1.152 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8502/0.8502, allocations: 127.8 MB / 470.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 124.4 kB / 0.6353 GB, free: 11.16 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1644, allocations: 82.35 MB / 0.7157 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.00188/0.1663, allocations: 1.008 MB / 0.7167 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004996/0.1668, allocations: 207.3 kB / 0.7169 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.1669, allocations: 0 / 0.7169 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.352e-05/0.167, allocations: 0 / 0.7169 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-06/0.167, allocations: 0 / 0.7169 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.1674, allocations: 71.8 kB / 0.7169 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.19e-05/0.1675, allocations: 15.98 kB / 0.7169 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.1675, allocations: 0 / 0.7169 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.1676, allocations: 3.938 kB / 0.7169 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.072e-05/0.1676, allocations: 11.92 kB / 0.717 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-06/0.1676, allocations: 0 / 0.717 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1678, allocations: 75.91 kB / 0.717 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.1678, allocations: 4 kB / 0.717 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.1678, allocations: 7.922 kB / 0.717 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.168, allocations: 51.92 kB / 0.7171 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.168, allocations: 0 / 0.7171 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.168, allocations: 0 / 0.7171 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.168, allocations: 4 kB / 0.7171 GB, free: 7.293 MB / 0.5294 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.0003486/0.1684, allocations: 323.5 kB / 0.7174 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1684, allocations: 15.97 kB / 0.7174 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.1684, allocations: 4.875 kB / 0.7174 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1686, allocations: 172.3 kB / 0.7176 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1686, allocations: 384 / 0.7176 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.1686, allocations: 8.312 kB / 0.7176 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.876e-05/0.1687, allocations: 38.25 kB / 0.7176 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1687, allocations: 192 / 0.7176 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1687, allocations: 7.938 kB / 0.7176 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.1688, allocations: 0 / 0.7176 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.1688, allocations: 8 kB / 0.7177 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.169, allocations: 149.7 kB / 0.7178 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.815e-05/0.169, allocations: 30.58 kB / 0.7178 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.1691, allocations: 20.86 kB / 0.7178 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.1691, allocations: 0 / 0.7178 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1691, allocations: 34.56 kB / 0.7179 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1691, allocations: 0 / 0.7179 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001377/0.1693, allocations: 49.62 kB / 0.7179 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1693, allocations: 51.41 kB / 0.718 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.1694, allocations: 97.86 kB / 0.7181 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1694, allocations: 25.7 kB / 0.7181 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.1694, allocations: 80.14 kB / 0.7182 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1695, allocations: 11.97 kB / 0.7182 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1695, allocations: 17.7 kB / 0.7182 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1696, allocations: 314.8 kB / 0.7185 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.1696, allocations: 11.94 kB / 0.7185 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-06/0.1696, allocations: 4 kB / 0.7185 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.1697, allocations: 20.84 kB / 0.7185 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1697, allocations: 0 / 0.7185 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.289e-05/0.1698, allocations: 49.69 kB / 0.7186 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1698, allocations: 4 kB / 0.7186 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1698, allocations: 8 kB / 0.7186 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1698, allocations: 0 / 0.7186 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.1698, allocations: 0 / 0.7186 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1698, allocations: 0 / 0.7186 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.1698, allocations: 0 / 0.7186 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1699, allocations: 7.938 kB / 0.7186 GB, free: 5.531 MB / 0.5294 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.545e-05/0.1699, allocations: 113.8 kB / 0.7187 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.1699, allocations: 0 / 0.7187 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.17, allocations: 11.44 kB / 0.7187 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.17, allocations: 4 kB / 0.7187 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.17, allocations: 192 / 0.7187 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.17, allocations: 0 / 0.7187 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1701, allocations: 161.6 kB / 0.7189 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1701, allocations: 3.938 kB / 0.7189 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.1701, allocations: 4 kB / 0.7189 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1701, allocations: 0 / 0.7189 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1702, allocations: 3.938 kB / 0.7189 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1702, allocations: 0 / 0.7189 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1702, allocations: 0 / 0.7189 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.637e-05/0.1702, allocations: 69.12 kB / 0.719 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.1703, allocations: 85.02 kB / 0.719 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1703, allocations: 7.922 kB / 0.719 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-06/0.1703, allocations: 0 / 0.719 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.1703, allocations: 0 / 0.719 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1703, allocations: 3.938 kB / 0.719 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.1704, allocations: 79.28 kB / 0.7191 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1704, allocations: 0 / 0.7191 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002561/0.1706, allocations: 20.12 kB / 0.7191 GB, free: 4.875 MB / 0.5294 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.0001685/0.1708, allocations: 115.2 kB / 0.7192 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.341e-05/0.1709, allocations: 12 kB / 0.7193 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1709, allocations: 0 / 0.7193 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.1709, allocations: 11.98 kB / 0.7193 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.1711, allocations: 2.031 kB / 0.7193 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.1713, allocations: 93.06 kB / 0.7194 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.1715, allocations: 0.6769 MB / 0.72 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.1716, allocations: 4 kB / 0.72 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.1716, allocations: 11.42 kB / 0.72 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.1716, allocations: 3.938 kB / 0.72 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of Templates: time 0.002704/0.1743, allocations: 0.6226 MB / 0.7206 GB, free: 3.266 MB / 0.5294 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