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.01595/0.01595, allocations: 1.438 MB / 17.07 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1083/0.1083, allocations: 22.36 MB / 40.48 MB, free: 0.5273 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.001133/0.001133, allocations: 112 kB / 47.98 MB, free: 2.129 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.001576/0.001576, allocations: 192.2 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.398/1.398, allocations: 222.9 MB / 285.9 MB, free: 1.191 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.875/0.875, allocations: 127.8 MB / 470.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 123.8 kB / 0.6353 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1621, allocations: 82.36 MB / 0.7157 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002051/0.1642, allocations: 1.015 MB / 0.7167 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1661, allocations: 1.396 MB / 0.718 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.1662, allocations: 3.938 kB / 0.718 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1662, allocations: 0 / 0.718 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.1667, allocations: 92.52 kB / 0.7181 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.1667, allocations: 0 / 0.7181 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.275e-05/0.1668, allocations: 7.984 kB / 0.7181 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.1668, allocations: 12 kB / 0.7181 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.1669, allocations: 3.938 kB / 0.7181 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.1669, allocations: 4 kB / 0.7182 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.1669, allocations: 4 kB / 0.7182 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.1673, allocations: 191.6 kB / 0.7183 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.1673, allocations: 3.984 kB / 0.7183 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.1673, allocations: 11.92 kB / 0.7184 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1675, allocations: 83.88 kB / 0.7184 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1675, allocations: 0 / 0.7184 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1675, allocations: 0 / 0.7184 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1676, allocations: 4 kB / 0.7184 GB, free: 5.973 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.0002983/0.1679, allocations: 335.5 kB / 0.7188 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1679, allocations: 12.03 kB / 0.7188 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1679, allocations: 0.9375 kB / 0.7188 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.954e-05/0.168, allocations: 168.3 kB / 0.7189 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1681, allocations: 8.297 kB / 0.7189 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1681, allocations: 8.375 kB / 0.7189 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1682, allocations: 34.02 kB / 0.719 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1682, allocations: 0 / 0.719 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1682, allocations: 8 kB / 0.719 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1682, allocations: 0 / 0.719 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.1683, allocations: 11.98 kB / 0.719 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1684, allocations: 153.7 kB / 0.7191 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.1685, allocations: 38.52 kB / 0.7192 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.1686, allocations: 20.94 kB / 0.7192 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.169, allocations: 340.4 kB / 0.7195 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.169, allocations: 38.5 kB / 0.7196 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.169, allocations: 0 / 0.7196 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001595/0.1692, allocations: 57.69 kB / 0.7196 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1692, allocations: 51.41 kB / 0.7197 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.706e-05/0.1693, allocations: 89.86 kB / 0.7198 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1693, allocations: 29.64 kB / 0.7198 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.1693, allocations: 80.14 kB / 0.7199 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.1693, allocations: 23.78 kB / 0.7199 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1694, allocations: 17.72 kB / 0.7199 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.1695, allocations: 310.8 kB / 0.7202 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.1695, allocations: 8 kB / 0.7202 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.1695, allocations: 11.92 kB / 0.7202 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.1696, allocations: 24.86 kB / 0.7202 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1696, allocations: 0 / 0.7202 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.394e-05/0.1697, allocations: 50.02 kB / 0.7203 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1697, allocations: 11.94 kB / 0.7203 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1697, allocations: 0 / 0.7203 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1697, allocations: 0 / 0.7203 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.1698, allocations: 11.94 kB / 0.7203 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1698, allocations: 0 / 0.7203 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.1698, allocations: 0 / 0.7203 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.1698, allocations: 3.984 kB / 0.7203 GB, free: 3.758 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.973e-05/0.1699, allocations: 117.8 kB / 0.7204 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.1699, allocations: 3.938 kB / 0.7204 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.17, allocations: 61.19 kB / 0.7205 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.17, allocations: 3.938 kB / 0.7205 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1701, allocations: 0 / 0.7205 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1701, allocations: 0 / 0.7205 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.1702, allocations: 161.5 kB / 0.7206 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1702, allocations: 0 / 0.7206 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.1702, allocations: 7.938 kB / 0.7206 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1702, allocations: 7.938 kB / 0.7207 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.1702, allocations: 0 / 0.7207 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1702, allocations: 0 / 0.7207 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1702, allocations: 4 kB / 0.7207 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.1703, allocations: 73.12 kB / 0.7207 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.1704, allocations: 81.09 kB / 0.7208 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1704, allocations: 3.938 kB / 0.7208 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.1704, allocations: 4 kB / 0.7208 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1704, allocations: 4 kB / 0.7208 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1704, allocations: 0 / 0.7208 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.44e-05/0.1705, allocations: 79.28 kB / 0.7209 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1705, allocations: 0 / 0.7209 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002017/0.1707, allocations: 16 kB / 0.7209 GB, free: 3.035 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.0001603/0.1708, allocations: 115.2 kB / 0.721 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/0.1709, allocations: 23.98 kB / 0.721 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1709, allocations: 0 / 0.721 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.171, allocations: 11.98 kB / 0.7211 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1711, allocations: 8 kB / 0.7211 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.1713, allocations: 101.1 kB / 0.7212 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1716, allocations: 0.6729 MB / 0.7218 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.1716, allocations: 12.22 kB / 0.7218 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.1716, allocations: 7.438 kB / 0.7218 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.1716, allocations: 0 / 0.7218 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of Templates: time 0.002684/0.1743, allocations: 0.6059 MB / 0.7224 GB, free: 1.418 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