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.01039/0.01039, 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.1477/0.1477, allocations: 22.38 MB / 41.15 MB, free: 7.785 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.001306/0.001306, allocations: 108 kB / 48.65 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.001565/0.001565, allocations: 194.9 kB / 56.24 MB, free: 9.473 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.545/1.545, 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 1.03/1.03, allocations: 127.8 MB / 471.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003126/0.003127, allocations: 127.8 kB / 0.6359 GB, free: 13.23 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.755/0.7581, allocations: 82.35 MB / 0.7163 GB, free: 9.621 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002343/0.7605, allocations: 1.02 MB / 0.7173 GB, free: 8.863 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.7628, allocations: 1.388 MB / 0.7187 GB, free: 7.75 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.7629, allocations: 1.219 kB / 0.7187 GB, free: 7.75 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.7629, allocations: 0 / 0.7187 GB, free: 7.75 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.7635, allocations: 105.5 kB / 0.7188 GB, free: 7.676 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 3.646e-06/0.7635, allocations: 1.438 kB / 0.7188 GB, free: 7.676 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.7635, allocations: 2.781 kB / 0.7188 GB, free: 7.676 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.7636, allocations: 5.391 kB / 0.7188 GB, free: 7.672 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.7636, allocations: 9.25 kB / 0.7188 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.7637, allocations: 1.438 kB / 0.7188 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.7637, allocations: 0 / 0.7188 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.7641, allocations: 190.5 kB / 0.719 GB, free: 7.555 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.7641, allocations: 3.984 kB / 0.719 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.7641, allocations: 9.406 kB / 0.719 GB, free: 7.543 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.7643, allocations: 91.09 kB / 0.7191 GB, free: 7.488 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.7644, allocations: 3.938 kB / 0.7191 GB, free: 7.484 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7644, allocations: 0 / 0.7191 GB, free: 7.484 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.7644, allocations: 0 / 0.7191 GB, free: 7.484 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.0003887/0.7648, allocations: 345.6 kB / 0.7194 GB, free: 7.109 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.7648, allocations: 10.03 kB / 0.7194 GB, free: 7.109 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.7649, allocations: 0.9375 kB / 0.7194 GB, free: 7.109 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.765, allocations: 165.6 kB / 0.7196 GB, free: 6.914 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.765, allocations: 8.375 kB / 0.7196 GB, free: 6.906 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.7651, allocations: 1.781 kB / 0.7196 GB, free: 6.906 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.7652, allocations: 43.72 kB / 0.7196 GB, free: 6.863 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.7652, allocations: 1.312 kB / 0.7196 GB, free: 6.863 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.7652, allocations: 3.984 kB / 0.7196 GB, free: 6.859 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7652, allocations: 0 / 0.7196 GB, free: 6.859 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.7653, allocations: 15.31 kB / 0.7197 GB, free: 6.852 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.7655, allocations: 153.1 kB / 0.7198 GB, free: 6.656 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.7656, allocations: 44.14 kB / 0.7198 GB, free: 6.617 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.7657, allocations: 16.7 kB / 0.7199 GB, free: 6.605 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/0.7661, allocations: 340.4 kB / 0.7202 GB, free: 6.219 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.7662, allocations: 35.69 kB / 0.7202 GB, free: 6.176 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.7662, allocations: 0 / 0.7202 GB, free: 6.176 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4): time 0.0002052/0.7664, allocations: 62.58 kB / 0.7203 GB, free: 6.125 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.7664, allocations: 56.78 kB / 0.7203 GB, free: 6.059 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.218e-05/0.7665, allocations: 89.86 kB / 0.7204 GB, free: 5.961 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.7665, allocations: 33.64 kB / 0.7204 GB, free: 5.922 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.7665, allocations: 80.14 kB / 0.7205 GB, free: 5.84 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.7666, allocations: 10.62 kB / 0.7205 GB, free: 5.832 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.7666, allocations: 16.53 kB / 0.7206 GB, free: 5.812 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7668, allocations: 316.2 kB / 0.7209 GB, free: 5.496 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.7668, allocations: 2.75 kB / 0.7209 GB, free: 5.496 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.498e-05/0.7668, allocations: 9.188 kB / 0.7209 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/0.7669, allocations: 21.48 kB / 0.7209 GB, free: 5.477 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7669, allocations: 1.062 kB / 0.7209 GB, free: 5.477 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.425e-05/0.767, allocations: 55 kB / 0.7209 GB, free: 5.43 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.767, allocations: 9.906 kB / 0.7209 GB, free: 5.426 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.767, allocations: 0 / 0.7209 GB, free: 5.426 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.767, allocations: 0 / 0.7209 GB, free: 5.426 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.7671, allocations: 13.86 kB / 0.721 GB, free: 5.418 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.7671, allocations: 5.203 kB / 0.721 GB, free: 5.414 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.7671, allocations: 0 / 0.721 GB, free: 5.414 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.7672, allocations: 1.188 kB / 0.721 GB, free: 5.414 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 8.659e-05/0.7673, allocations: 117 kB / 0.7211 GB, free: 5.293 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.7673, allocations: 4.906 kB / 0.7211 GB, free: 5.289 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.7674, allocations: 60.27 kB / 0.7211 GB, free: 5.234 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7674, allocations: 1.406 kB / 0.7211 GB, free: 5.234 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.7674, allocations: 0 / 0.7211 GB, free: 5.234 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.7674, allocations: 4.031 kB / 0.7211 GB, free: 5.23 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.7676, allocations: 160.8 kB / 0.7213 GB, free: 5.031 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7676, allocations: 0 / 0.7213 GB, free: 5.031 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.7676, allocations: 13.64 kB / 0.7213 GB, free: 5.023 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.7676, allocations: 5.25 kB / 0.7213 GB, free: 5.02 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.7676, allocations: 0 / 0.7213 GB, free: 5.02 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7676, allocations: 1.562 kB / 0.7213 GB, free: 5.02 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7677, allocations: 0 / 0.7213 GB, free: 5.02 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.795e-05/0.7678, allocations: 72.81 kB / 0.7214 GB, free: 4.945 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.7678, allocations: 77.11 kB / 0.7215 GB, free: 4.852 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.7678, allocations: 9.906 kB / 0.7215 GB, free: 4.844 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.7679, allocations: 7.938 kB / 0.7215 GB, free: 4.836 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.7679, allocations: 6.172 kB / 0.7215 GB, free: 4.832 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.7679, allocations: 0 / 0.7215 GB, free: 4.832 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.7679, allocations: 79.28 kB / 0.7216 GB, free: 4.754 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/0.7679, allocations: 1.812 kB / 0.7216 GB, free: 4.754 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002086/0.7681, allocations: 15.31 kB / 0.7216 GB, free: 4.75 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.0001958/0.7683, allocations: 109.8 kB / 0.7217 GB, free: 4.652 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.7685, allocations: 21.02 kB / 0.7217 GB, free: 4.645 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7685, allocations: 4 kB / 0.7217 GB, free: 4.641 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.7685, allocations: 21 kB / 0.7217 GB, free: 4.629 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.7687, allocations: 2.969 kB / 0.7217 GB, free: 4.629 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.769, allocations: 135.1 kB / 0.7219 GB, free: 4.48 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.7693, allocations: 0.6721 MB / 0.7225 GB, free: 3.785 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.7693, allocations: 14.14 kB / 0.7225 GB, free: 3.773 MB / 0.5138 GB Notification: Performance of SimCode: time 2.31e-07/0.7693, allocations: 0 / 0.7225 GB, free: 3.773 MB / 0.5138 GB Notification: Performance of Templates: time 0.002447/0.7718, allocations: 0.6994 MB / 0.7232 GB, free: 3.426 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