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.01604/0.01604, allocations: 1.432 MB / 17.07 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.127/0.127, allocations: 22.38 MB / 40.49 MB, free: 0.5039 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.001088/0.001088, allocations: 113.5 kB / 47.98 MB, free: 2.125 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.001149/0.00115, allocations: 192.3 kB / 55.59 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.57/1.57, allocations: 222.9 MB / 285.9 MB, free: 1.188 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.976/0.976, allocations: 127.8 MB / 470.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 119.8 kB / 0.6353 GB, free: 11.19 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2382, allocations: 82.34 MB / 0.7157 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002644/0.2409, allocations: 1.022 MB / 0.7167 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.2582, allocations: 1.396 MB / 0.718 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.2584, allocations: 0 / 0.718 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.2584, allocations: 0 / 0.718 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006366/0.2591, allocations: 96.12 kB / 0.7181 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.51e-06/0.2591, allocations: 0 / 0.7181 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.2592, allocations: 4 kB / 0.7181 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.2592, allocations: 11.98 kB / 0.7182 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.952e-05/0.2593, allocations: 3.938 kB / 0.7182 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.2593, allocations: 0 / 0.7182 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.2593, allocations: 4 kB / 0.7182 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.2598, allocations: 199.6 kB / 0.7184 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.2599, allocations: 3.984 kB / 0.7184 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.2599, allocations: 3.938 kB / 0.7184 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.2601, allocations: 91.86 kB / 0.7184 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2601, allocations: 0 / 0.7184 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2601, allocations: 0 / 0.7184 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.2602, allocations: 0 / 0.7184 GB, free: 5.926 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.0004068/0.2606, allocations: 335.5 kB / 0.7188 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.2606, allocations: 12.03 kB / 0.7188 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.2607, allocations: 4.938 kB / 0.7188 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.2608, allocations: 168.3 kB / 0.7189 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2608, allocations: 384 / 0.7189 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2609, allocations: 8.312 kB / 0.719 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.261, allocations: 45.94 kB / 0.719 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.261, allocations: 0 / 0.719 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.261, allocations: 0 / 0.719 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2611, allocations: 0 / 0.719 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.372e-05/0.2611, allocations: 12 kB / 0.719 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.2613, allocations: 157.7 kB / 0.7192 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.2615, allocations: 38.61 kB / 0.7192 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.2615, allocations: 16.86 kB / 0.7192 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005208/0.262, allocations: 344.4 kB / 0.7195 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2621, allocations: 42.48 kB / 0.7196 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.2621, allocations: 0 / 0.7196 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002058/0.2623, allocations: 61.69 kB / 0.7196 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.2624, allocations: 55.34 kB / 0.7197 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.2624, allocations: 89.86 kB / 0.7198 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2625, allocations: 29.7 kB / 0.7198 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.2625, allocations: 80.14 kB / 0.7199 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.2625, allocations: 11.81 kB / 0.7199 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.2626, allocations: 17.72 kB / 0.7199 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2627, allocations: 314.8 kB / 0.7202 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.2628, allocations: 8 kB / 0.7202 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.2628, allocations: 11.94 kB / 0.7202 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/0.2628, allocations: 16.86 kB / 0.7202 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2628, allocations: 0 / 0.7202 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.022e-05/0.2629, allocations: 53.69 kB / 0.7203 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.263, allocations: 7.938 kB / 0.7203 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.263, allocations: 0 / 0.7203 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.263, allocations: 0 / 0.7203 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.2631, allocations: 11.98 kB / 0.7203 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2631, allocations: 0 / 0.7203 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.2631, allocations: 4 kB / 0.7203 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2631, allocations: 0 / 0.7203 GB, free: 3.711 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 0.0001029/0.2632, allocations: 117.8 kB / 0.7204 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.2633, allocations: 4.266 kB / 0.7204 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.2634, allocations: 61.17 kB / 0.7205 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2634, allocations: 3.984 kB / 0.7205 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2634, allocations: 3.938 kB / 0.7205 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2634, allocations: 0 / 0.7205 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2636, allocations: 161.5 kB / 0.7207 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2636, allocations: 0 / 0.7207 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.2636, allocations: 7.984 kB / 0.7207 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2636, allocations: 7.938 kB / 0.7207 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.2636, allocations: 0 / 0.7207 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2636, allocations: 0 / 0.7207 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2636, allocations: 3.938 kB / 0.7207 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.2638, allocations: 73.12 kB / 0.7207 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2638, allocations: 81.11 kB / 0.7208 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2638, allocations: 3.938 kB / 0.7208 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.2638, allocations: 0 / 0.7208 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.2639, allocations: 7.984 kB / 0.7208 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2639, allocations: 4 kB / 0.7208 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.047e-05/0.2639, allocations: 75.28 kB / 0.7209 GB, free: 3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2639, allocations: 0 / 0.7209 GB, free: 3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002169/0.2641, allocations: 16 kB / 0.7209 GB, free: 2.984 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.0002035/0.2643, allocations: 122 kB / 0.721 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.2645, allocations: 27.86 kB / 0.7211 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2645, allocations: 0 / 0.7211 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.2645, allocations: 12 kB / 0.7211 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.2647, allocations: 6.344 kB / 0.7211 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.265, allocations: 97.12 kB / 0.7212 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2653, allocations: 0.6768 MB / 0.7218 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.2653, allocations: 12 kB / 0.7218 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.2653, allocations: 7.438 kB / 0.7219 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of SimCode: time 2.11e-07/0.2653, allocations: 0 / 0.7219 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of Templates: time 0.003153/0.2685, allocations: 0.6023 MB / 0.7224 GB, free: 1.367 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches