Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.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.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01054/0.01054, allocations: 1.431 MB / 17.07 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1061/0.1061, allocations: 22.37 MB / 40.48 MB, free: 0.5703 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.001115/0.001115, allocations: 116.6 kB / 47.98 MB, free: 2.133 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.001303/0.001303, allocations: 194.4 kB / 55.58 MB, free: 6.176 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.319/1.319, allocations: 222.9 MB / 285.9 MB, free: 1.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8519/0.8519, allocations: 127.8 MB / 470.6 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 127.8 kB / 0.6353 GB, free: 11.2 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1607, allocations: 82.33 MB / 0.7157 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001885/0.1626, allocations: 1.028 MB / 0.7167 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1644, allocations: 1.388 MB / 0.718 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.1645, allocations: 0 / 0.718 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.1645, allocations: 0 / 0.718 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1649, allocations: 104.8 kB / 0.7181 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.165, allocations: 0 / 0.7181 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.869e-05/0.165, allocations: 4 kB / 0.7181 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.165, allocations: 4 kB / 0.7181 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.58e-05/0.1651, allocations: 3.938 kB / 0.7181 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.1651, allocations: 11.94 kB / 0.7182 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.041e-06/0.1651, allocations: 0 / 0.7182 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.1655, allocations: 191.7 kB / 0.7183 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1655, allocations: 7.984 kB / 0.7183 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.1655, allocations: 11.94 kB / 0.7184 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1657, allocations: 87.86 kB / 0.7184 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1657, allocations: 0 / 0.7184 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1657, allocations: 0 / 0.7184 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1657, allocations: 0 / 0.7184 GB, free: 5.945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003032/0.1661, allocations: 335.5 kB / 0.7188 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1661, allocations: 8.031 kB / 0.7188 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.1661, allocations: 0.9375 kB / 0.7188 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.1662, allocations: 168.3 kB / 0.7189 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1662, allocations: 12.31 kB / 0.7189 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1663, allocations: 4.375 kB / 0.7189 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1664, allocations: 38 kB / 0.719 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1664, allocations: 0 / 0.719 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1664, allocations: 8 kB / 0.719 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1664, allocations: 0 / 0.719 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.1665, allocations: 11.98 kB / 0.719 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1666, allocations: 149.7 kB / 0.7191 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.1667, allocations: 46.52 kB / 0.7192 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.1668, allocations: 20.94 kB / 0.7192 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.1672, allocations: 340.3 kB / 0.7195 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1672, allocations: 38.5 kB / 0.7196 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.1672, allocations: 0 / 0.7196 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001618/0.1674, allocations: 53.69 kB / 0.7196 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.1674, allocations: 59.34 kB / 0.7197 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.793e-05/0.1674, allocations: 89.86 kB / 0.7198 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1675, allocations: 29.7 kB / 0.7198 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.1675, allocations: 80.14 kB / 0.7199 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.1675, allocations: 11.8 kB / 0.7199 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.1676, allocations: 17.72 kB / 0.7199 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1677, allocations: 310.8 kB / 0.7202 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.1677, allocations: 8 kB / 0.7202 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.1677, allocations: 7.984 kB / 0.7202 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.118e-05/0.1678, allocations: 28.86 kB / 0.7202 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1678, allocations: 0 / 0.7202 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.914e-05/0.1679, allocations: 46.02 kB / 0.7203 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1679, allocations: 10.12 kB / 0.7203 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1679, allocations: 7.938 kB / 0.7203 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1679, allocations: 0 / 0.7203 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.168, allocations: 4 kB / 0.7203 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.168, allocations: 0 / 0.7203 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.168, allocations: 0 / 0.7203 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.168, allocations: 7.984 kB / 0.7203 GB, free: 3.738 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 (4): * Single equations (assignments): 4 * 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 6.601e-05/0.1681, allocations: 113.8 kB / 0.7204 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.1681, allocations: 7.922 kB / 0.7204 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.1682, allocations: 57.19 kB / 0.7205 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1683, allocations: 3.938 kB / 0.7205 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1683, allocations: 0 / 0.7205 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1683, allocations: 0 / 0.7205 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1684, allocations: 169.5 kB / 0.7206 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1684, allocations: 0 / 0.7206 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.1684, allocations: 12 kB / 0.7207 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1684, allocations: 3.938 kB / 0.7207 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.1684, allocations: 0 / 0.7207 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1684, allocations: 0 / 0.7207 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1684, allocations: 0 / 0.7207 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.648e-05/0.1685, allocations: 73.12 kB / 0.7207 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.1686, allocations: 81.09 kB / 0.7208 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1686, allocations: 7.938 kB / 0.7208 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/0.1686, allocations: 8 kB / 0.7208 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.1686, allocations: 0 / 0.7208 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1686, allocations: 4 kB / 0.7208 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.1687, allocations: 79.22 kB / 0.7209 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.603e-06/0.1687, allocations: 0 / 0.7209 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001915/0.1689, allocations: 19.94 kB / 0.7209 GB, free: 3.004 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 (4): * Single equations (assignments): 4 * 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.0001512/0.169, allocations: 111.2 kB / 0.721 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.1691, allocations: 27.98 kB / 0.721 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1692, allocations: 4 kB / 0.7211 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.1692, allocations: 8 kB / 0.7211 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.1693, allocations: 11.92 kB / 0.7211 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.1695, allocations: 97.08 kB / 0.7212 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1699, allocations: 0.6768 MB / 0.7218 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.17, allocations: 4.281 kB / 0.7218 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.17, allocations: 11.44 kB / 0.7218 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.17, allocations: 4 kB / 0.7218 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of Templates: time 0.002497/0.1725, allocations: 0.5981 MB / 0.7224 GB, free: 1.391 MB / 0.5294 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches