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.01671/0.01671, allocations: 1.426 MB / 17.06 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1126/0.1126, allocations: 22.37 MB / 40.48 MB, free: 0.4922 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.001091/0.001091, allocations: 109.5 kB / 47.98 MB, free: 2.121 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.001345/0.001345, allocations: 195.3 kB / 55.58 MB, free: 6.152 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.299/1.299, allocations: 222.9 MB / 285.9 MB, free: 1.156 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.841/0.841, allocations: 127.8 MB / 470.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 131.8 kB / 0.6353 GB, free: 11.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1535, allocations: 82.34 MB / 0.7157 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001769/0.1553, allocations: 1.017 MB / 0.7167 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004868/0.1558, allocations: 203.3 kB / 0.7169 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.1559, allocations: 4 kB / 0.7169 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.78e-05/0.1559, allocations: 0 / 0.7169 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-06/0.156, allocations: 0 / 0.7169 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.1564, allocations: 71.8 kB / 0.7169 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.457e-05/0.1564, allocations: 7.984 kB / 0.7169 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1565, allocations: 4 kB / 0.717 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.1565, allocations: 7.938 kB / 0.717 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.8e-05/0.1565, allocations: 0 / 0.717 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-06/0.1565, allocations: 0 / 0.717 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1567, allocations: 87.83 kB / 0.717 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.1567, allocations: 4 kB / 0.717 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.1567, allocations: 3.938 kB / 0.7171 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1569, allocations: 47.91 kB / 0.7171 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1569, allocations: 4 kB / 0.7171 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1569, allocations: 0 / 0.7171 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1569, allocations: 0 / 0.7171 GB, free: 7.32 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.0003199/0.1572, allocations: 335.4 kB / 0.7174 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1573, allocations: 11.97 kB / 0.7174 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.1573, allocations: 0.9375 kB / 0.7174 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1574, allocations: 168.4 kB / 0.7176 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.1574, allocations: 384 / 0.7176 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-06/0.1575, allocations: 384 / 0.7176 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.374e-05/0.1576, allocations: 30.27 kB / 0.7176 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1576, allocations: 4.125 kB / 0.7176 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1576, allocations: 7.922 kB / 0.7176 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.1576, allocations: 8 kB / 0.7176 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.1576, allocations: 7.984 kB / 0.7176 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.1578, allocations: 149.7 kB / 0.7178 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.511e-05/0.1579, allocations: 34.61 kB / 0.7178 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.1579, allocations: 8.891 kB / 0.7178 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-06/0.1579, allocations: 0 / 0.7178 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1579, allocations: 34.56 kB / 0.7179 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.504e-06/0.1579, allocations: 0 / 0.7179 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000127/0.1581, allocations: 61.61 kB / 0.7179 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1581, allocations: 55.34 kB / 0.718 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.205e-05/0.1582, allocations: 93.84 kB / 0.7181 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.1582, allocations: 25.7 kB / 0.7181 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.1582, allocations: 88.14 kB / 0.7182 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1582, allocations: 11.84 kB / 0.7182 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.1583, allocations: 17.88 kB / 0.7182 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1584, allocations: 310.8 kB / 0.7185 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.1584, allocations: 7.984 kB / 0.7185 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.1584, allocations: 8 kB / 0.7185 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.1584, allocations: 20.8 kB / 0.7185 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1585, allocations: 3.984 kB / 0.7185 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.801e-05/0.1585, allocations: 45.69 kB / 0.7186 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.1585, allocations: 4 kB / 0.7186 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1585, allocations: 7.938 kB / 0.7186 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1586, allocations: 8.047 kB / 0.7186 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1586, allocations: 4 kB / 0.7186 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1586, allocations: 0 / 0.7186 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.1586, allocations: 0 / 0.7186 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1586, allocations: 3.938 kB / 0.7186 GB, free: 5.547 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.448e-05/0.1587, allocations: 109.8 kB / 0.7187 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-06/0.1587, allocations: 0 / 0.7187 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.192e-05/0.1587, allocations: 7.438 kB / 0.7187 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1587, allocations: 0 / 0.7187 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1587, allocations: 4 kB / 0.7187 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1587, allocations: 7.984 kB / 0.7187 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.468e-05/0.1588, allocations: 149.6 kB / 0.7189 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1588, allocations: 0 / 0.7189 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.1588, allocations: 0 / 0.7189 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1588, allocations: 3.938 kB / 0.7189 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1589, allocations: 3.938 kB / 0.7189 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1589, allocations: 3.984 kB / 0.7189 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1589, allocations: 0 / 0.7189 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.362e-05/0.1589, allocations: 73.31 kB / 0.719 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.159, allocations: 81.09 kB / 0.719 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.159, allocations: 3.938 kB / 0.719 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-06/0.159, allocations: 0 / 0.719 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.159, allocations: 0 / 0.719 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.159, allocations: 4 kB / 0.719 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.1591, allocations: 75.28 kB / 0.7191 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1591, allocations: 0 / 0.7191 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001886/0.1593, allocations: 20.12 kB / 0.7191 GB, free: 4.91 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.0001525/0.1594, allocations: 119.2 kB / 0.7192 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.991e-05/0.1595, allocations: 23.86 kB / 0.7193 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1595, allocations: 0 / 0.7193 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.1595, allocations: 11.98 kB / 0.7193 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1597, allocations: 2.531 kB / 0.7193 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/0.1599, allocations: 92.94 kB / 0.7194 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1601, allocations: 0.6808 MB / 0.72 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.921e-05/0.1601, allocations: 4 kB / 0.72 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.527e-05/0.1601, allocations: 7.438 kB / 0.72 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1601, allocations: 0 / 0.72 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.002495/0.1626, allocations: 0.6197 MB / 0.7207 GB, free: 3.293 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