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.009582/0.009582, allocations: 1.437 MB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.2059/0.2059, allocations: 22.38 MB / 41.16 MB, free: 7.781 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 108 kB / 48.64 MB, free: 272 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 198.1 kB / 56.25 MB, free: 9.477 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.506/1.506, allocations: 222.9 MB / 286.6 MB, free: 13.96 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9203/0.9203, allocations: 127.8 MB / 471.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002581/0.002581, allocations: 131.8 kB / 0.6359 GB, free: 13.27 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6359/0.6385, allocations: 82.35 MB / 0.7163 GB, free: 9.738 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002589/0.6411, allocations: 1.027 MB / 0.7173 GB, free: 8.977 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.6435, allocations: 1.384 MB / 0.7187 GB, free: 7.867 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.6436, allocations: 0 / 0.7187 GB, free: 7.867 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.6436, allocations: 3.938 kB / 0.7187 GB, free: 7.863 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.6442, allocations: 95.2 kB / 0.7188 GB, free: 7.801 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.6443, allocations: 0 / 0.7188 GB, free: 7.801 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.6443, allocations: 18.31 kB / 0.7188 GB, free: 7.785 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.6444, allocations: 2.281 kB / 0.7188 GB, free: 7.785 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 2.169e-05/0.6444, allocations: 5.156 kB / 0.7188 GB, free: 7.781 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.6445, allocations: 5.062 kB / 0.7188 GB, free: 7.777 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.6445, allocations: 1.219 kB / 0.7188 GB, free: 7.777 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.645, allocations: 189.1 kB / 0.719 GB, free: 7.668 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.645, allocations: 5.328 kB / 0.719 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.645, allocations: 9.594 kB / 0.719 GB, free: 7.656 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.6452, allocations: 94.58 kB / 0.7191 GB, free: 7.598 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6452, allocations: 0 / 0.7191 GB, free: 7.598 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6452, allocations: 0 / 0.7191 GB, free: 7.598 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.6452, allocations: 0 / 0.7191 GB, free: 7.598 MB / 0.5138 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.0003541/0.6456, allocations: 339 kB / 0.7194 GB, free: 7.227 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.6456, allocations: 9.844 kB / 0.7194 GB, free: 7.227 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.6457, allocations: 0.9375 kB / 0.7194 GB, free: 7.227 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.6458, allocations: 166.1 kB / 0.7196 GB, free: 7.031 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.6458, allocations: 384 / 0.7196 GB, free: 7.031 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.6458, allocations: 6.062 kB / 0.7196 GB, free: 7.027 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.646, allocations: 46.88 kB / 0.7196 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.646, allocations: 1.406 kB / 0.7196 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.646, allocations: 0 / 0.7196 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.646, allocations: 0 / 0.7196 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.6461, allocations: 19.67 kB / 0.7197 GB, free: 6.969 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.6462, allocations: 149.6 kB / 0.7198 GB, free: 6.777 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.6464, allocations: 40.05 kB / 0.7198 GB, free: 6.742 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.6464, allocations: 16.23 kB / 0.7199 GB, free: 6.73 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004268/0.6468, allocations: 348 kB / 0.7202 GB, free: 6.336 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.6469, allocations: 39.88 kB / 0.7202 GB, free: 6.289 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.6469, allocations: 3.938 kB / 0.7202 GB, free: 6.285 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4): time 0.0001725/0.6471, allocations: 54.59 kB / 0.7203 GB, free: 6.242 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6471, allocations: 52.75 kB / 0.7203 GB, free: 6.18 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.958e-05/0.6471, allocations: 89.86 kB / 0.7204 GB, free: 6.082 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.6472, allocations: 25.7 kB / 0.7204 GB, free: 6.051 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.6472, allocations: 80.14 kB / 0.7205 GB, free: 5.969 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.6473, allocations: 14.41 kB / 0.7205 GB, free: 5.957 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.6473, allocations: 17.52 kB / 0.7206 GB, free: 5.938 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6474, allocations: 318.8 kB / 0.7209 GB, free: 5.617 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.6474, allocations: 4.812 kB / 0.7209 GB, free: 5.617 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.6475, allocations: 7 kB / 0.7209 GB, free: 5.613 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.6475, allocations: 27.09 kB / 0.7209 GB, free: 5.594 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6475, allocations: 0 / 0.7209 GB, free: 5.594 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.542e-05/0.6476, allocations: 51.75 kB / 0.7209 GB, free: 5.551 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6476, allocations: 9.875 kB / 0.721 GB, free: 5.547 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.6476, allocations: 0 / 0.721 GB, free: 5.547 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.6477, allocations: 0 / 0.721 GB, free: 5.547 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.6477, allocations: 10.7 kB / 0.721 GB, free: 5.543 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6477, allocations: 0 / 0.721 GB, free: 5.543 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.6478, allocations: 5.797 kB / 0.721 GB, free: 5.539 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.6478, allocations: 0 / 0.721 GB, free: 5.539 MB / 0.5138 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 7.766e-05/0.6479, allocations: 109.5 kB / 0.7211 GB, free: 5.426 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.6479, allocations: 5.75 kB / 0.7211 GB, free: 5.422 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.648, allocations: 65.89 kB / 0.7211 GB, free: 5.359 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.648, allocations: 1.75 kB / 0.7211 GB, free: 5.359 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.648, allocations: 11.94 kB / 0.7212 GB, free: 5.348 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.648, allocations: 0 / 0.7212 GB, free: 5.348 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.6482, allocations: 157.9 kB / 0.7213 GB, free: 5.152 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6482, allocations: 0 / 0.7213 GB, free: 5.152 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.6482, allocations: 5.375 kB / 0.7213 GB, free: 5.152 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6482, allocations: 3.938 kB / 0.7213 GB, free: 5.148 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.6482, allocations: 5.781 kB / 0.7213 GB, free: 5.145 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6482, allocations: 0 / 0.7213 GB, free: 5.145 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6482, allocations: 0 / 0.7213 GB, free: 5.145 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.985e-05/0.6483, allocations: 81.19 kB / 0.7214 GB, free: 5.062 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.6484, allocations: 77.11 kB / 0.7215 GB, free: 4.969 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.6484, allocations: 9.734 kB / 0.7215 GB, free: 4.961 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-06/0.6484, allocations: 0 / 0.7215 GB, free: 4.961 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.6484, allocations: 5.719 kB / 0.7215 GB, free: 4.957 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.6485, allocations: 2.031 kB / 0.7215 GB, free: 4.957 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.6485, allocations: 75.28 kB / 0.7216 GB, free: 4.883 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6485, allocations: 0 / 0.7216 GB, free: 4.883 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002097/0.6487, allocations: 19.62 kB / 0.7216 GB, free: 4.875 MB / 0.5138 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.0001791/0.6489, allocations: 110.5 kB / 0.7217 GB, free: 4.777 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.649, allocations: 24.27 kB / 0.7217 GB, free: 4.766 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.649, allocations: 0 / 0.7217 GB, free: 4.766 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 2.269e-05/0.649, allocations: 12.88 kB / 0.7217 GB, free: 4.762 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.6492, allocations: 1.438 kB / 0.7217 GB, free: 4.762 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.6494, allocations: 124.5 kB / 0.7218 GB, free: 4.621 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.6497, allocations: 0.6757 MB / 0.7225 GB, free: 3.922 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.6498, allocations: 18.28 kB / 0.7225 GB, free: 3.906 MB / 0.5138 GB Notification: Performance of SimCode: time 2.3e-07/0.6498, allocations: 0 / 0.7225 GB, free: 3.906 MB / 0.5138 GB Notification: Performance of Templates: time 0.002492/0.6523, allocations: 0.7108 MB / 0.7232 GB, free: 3.547 MB / 0.5138 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=480 -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