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.0175/0.0175, allocations: 1.433 MB / 17.07 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1506/0.1506, allocations: 22.38 MB / 40.49 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.001495/0.001495, allocations: 115.2 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.001503/0.001503, allocations: 187.8 kB / 55.58 MB, free: 6.16 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.363/1.363, allocations: 222.9 MB / 285.9 MB, free: 1.176 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8537/0.8537, allocations: 127.8 MB / 470.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 124.4 kB / 0.6353 GB, free: 11.16 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1607, allocations: 82.35 MB / 0.7157 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002368/0.1631, allocations: 1.011 MB / 0.7167 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000592/0.1637, allocations: 207.3 kB / 0.7169 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.1638, allocations: 0 / 0.7169 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.667e-05/0.1639, allocations: 3.938 kB / 0.7169 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.596e-06/0.1639, allocations: 0 / 0.7169 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.1645, allocations: 83.77 kB / 0.7169 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.1645, allocations: 4 kB / 0.7169 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.1646, allocations: 7.828 kB / 0.717 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.1646, allocations: 3.984 kB / 0.717 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.076e-05/0.1646, allocations: 4 kB / 0.717 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.1646, allocations: 0 / 0.717 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.1648, allocations: 79.89 kB / 0.717 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.1649, allocations: 8 kB / 0.717 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.1649, allocations: 3.938 kB / 0.717 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.165, allocations: 51.91 kB / 0.7171 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1651, allocations: 0 / 0.7171 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1651, allocations: 0 / 0.7171 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.1651, allocations: 0 / 0.7171 GB, free: 7.285 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.0003706/0.1654, allocations: 331.4 kB / 0.7174 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1655, allocations: 15.97 kB / 0.7174 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.1655, allocations: 0.9375 kB / 0.7174 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1657, allocations: 168.3 kB / 0.7176 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-06/0.1657, allocations: 384 / 0.7176 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1657, allocations: 4.375 kB / 0.7176 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1658, allocations: 34.25 kB / 0.7176 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1658, allocations: 192 / 0.7176 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1659, allocations: 3.938 kB / 0.7176 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.1659, allocations: 4 kB / 0.7176 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.1659, allocations: 8 kB / 0.7176 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.1661, allocations: 153.7 kB / 0.7178 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.344e-05/0.1662, allocations: 30.52 kB / 0.7178 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.1662, allocations: 16.92 kB / 0.7178 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-06/0.1662, allocations: 0 / 0.7178 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1663, allocations: 34.56 kB / 0.7179 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1663, allocations: 0 / 0.7179 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000161/0.1664, allocations: 53.62 kB / 0.7179 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1665, allocations: 55.34 kB / 0.718 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.1665, allocations: 93.86 kB / 0.7181 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1666, allocations: 25.7 kB / 0.7181 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.1666, allocations: 84.08 kB / 0.7182 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.1667, allocations: 11.81 kB / 0.7182 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.1667, allocations: 25.84 kB / 0.7182 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1668, allocations: 314.8 kB / 0.7185 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.1668, allocations: 4 kB / 0.7185 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.1669, allocations: 4 kB / 0.7185 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.967e-05/0.1669, allocations: 20.84 kB / 0.7185 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1669, allocations: 0 / 0.7185 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.038e-05/0.167, allocations: 49.62 kB / 0.7186 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.167, allocations: 4 kB / 0.7186 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.167, allocations: 3.938 kB / 0.7186 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1671, allocations: 4.062 kB / 0.7186 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-06/0.1671, allocations: 4 kB / 0.7186 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1671, allocations: 3.938 kB / 0.7186 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.1671, allocations: 4 kB / 0.7186 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1671, allocations: 0 / 0.7186 GB, free: 5.52 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 7.297e-05/0.1672, allocations: 109.8 kB / 0.7187 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.1672, allocations: 0 / 0.7187 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.503e-05/0.1672, allocations: 11.62 kB / 0.7187 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.1672, allocations: 3.984 kB / 0.7187 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1673, allocations: 4 kB / 0.7187 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1673, allocations: 0 / 0.7187 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1674, allocations: 153.7 kB / 0.7189 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1674, allocations: 0 / 0.7189 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-06/0.1674, allocations: 4 kB / 0.7189 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1674, allocations: 0 / 0.7189 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1674, allocations: 3.938 kB / 0.7189 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1674, allocations: 0 / 0.7189 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1674, allocations: 0 / 0.7189 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.605e-05/0.1675, allocations: 77.06 kB / 0.719 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.1676, allocations: 81.02 kB / 0.719 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1676, allocations: 7.922 kB / 0.719 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-06/0.1676, allocations: 0 / 0.719 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.1676, allocations: 0 / 0.719 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1676, allocations: 0 / 0.719 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.1677, allocations: 79.28 kB / 0.7191 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.1677, allocations: 0 / 0.7191 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000231/0.1679, allocations: 16 kB / 0.7191 GB, free: 4.879 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.0002135/0.1681, allocations: 123.3 kB / 0.7192 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.314e-05/0.1682, allocations: 12 kB / 0.7193 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1682, allocations: 0 / 0.7193 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.1683, allocations: 11.98 kB / 0.7193 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.1684, allocations: 5.188 kB / 0.7193 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.1687, allocations: 99.75 kB / 0.7194 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1689, allocations: 0.6769 MB / 0.72 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.169, allocations: 4 kB / 0.72 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.169, allocations: 11.42 kB / 0.72 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.169, allocations: 3.938 kB / 0.72 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of Templates: time 0.01376/0.1828, allocations: 0.6175 MB / 0.7207 GB, free: 3.258 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