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.009738/0.009744, allocations: 1.43 MB / 17.07 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1289/0.1289, allocations: 22.37 MB / 40.48 MB, free: 0.5586 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.001225/0.001225, allocations: 109.1 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.00168/0.00168, allocations: 192.6 kB / 55.58 MB, free: 6.16 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.557/1.557, allocations: 222.9 MB / 285.9 MB, free: 1.164 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9696/0.9696, allocations: 127.8 MB / 470.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 127.8 kB / 0.6353 GB, free: 11.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2369, 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.002616/0.2396, allocations: 1.019 MB / 0.7167 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.242, allocations: 1.388 MB / 0.718 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.2421, allocations: 0 / 0.718 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.2421, allocations: 3.938 kB / 0.718 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006129/0.2427, allocations: 95.7 kB / 0.7181 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.641e-06/0.2428, allocations: 0 / 0.7181 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.2428, allocations: 11.92 kB / 0.7181 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.2429, allocations: 4 kB / 0.7182 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.971e-05/0.2429, allocations: 3.938 kB / 0.7182 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.243, allocations: 15.98 kB / 0.7182 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.243, allocations: 0 / 0.7182 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.2435, allocations: 191.7 kB / 0.7184 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.2435, allocations: 4 kB / 0.7184 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.2435, allocations: 7.875 kB / 0.7184 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.2437, allocations: 91.78 kB / 0.7185 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2438, allocations: 4 kB / 0.7185 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2438, allocations: 0 / 0.7185 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.2438, allocations: 0 / 0.7185 GB, free: 5.922 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.0003763/0.2442, allocations: 335.3 kB / 0.7188 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.2442, allocations: 8.031 kB / 0.7188 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.2443, allocations: 4.891 kB / 0.7188 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.2444, allocations: 160.4 kB / 0.7189 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2444, allocations: 8.375 kB / 0.7189 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2444, allocations: 4.312 kB / 0.719 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2446, allocations: 45.94 kB / 0.719 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2446, allocations: 4 kB / 0.719 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2446, allocations: 0 / 0.719 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2446, allocations: 0 / 0.719 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.2447, allocations: 15.98 kB / 0.719 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.2449, allocations: 149.7 kB / 0.7192 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.245, allocations: 42.59 kB / 0.7192 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.245, allocations: 16.86 kB / 0.7192 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000452/0.2455, allocations: 344.5 kB / 0.7195 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2455, allocations: 38.5 kB / 0.7196 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.2455, allocations: 3.938 kB / 0.7196 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001982/0.2457, allocations: 53.69 kB / 0.7196 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.2458, allocations: 51.41 kB / 0.7197 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.2459, allocations: 93.86 kB / 0.7198 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2459, allocations: 25.7 kB / 0.7198 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.2459, allocations: 80.14 kB / 0.7199 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.246, allocations: 7.906 kB / 0.7199 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.246, allocations: 29.64 kB / 0.7199 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2462, allocations: 310.8 kB / 0.7202 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.2462, allocations: 8 kB / 0.7202 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.2462, allocations: 4 kB / 0.7202 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.2463, allocations: 32.78 kB / 0.7203 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2463, allocations: 0 / 0.7203 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.671e-05/0.2463, allocations: 45.69 kB / 0.7203 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2464, allocations: 7.938 kB / 0.7203 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2464, allocations: 4 kB / 0.7203 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2464, allocations: 4 kB / 0.7203 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.2465, allocations: 4 kB / 0.7203 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2465, allocations: 0 / 0.7203 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.2465, allocations: 7.938 kB / 0.7203 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2465, allocations: 8 kB / 0.7203 GB, free: 3.707 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 8.509e-05/0.2466, allocations: 105.8 kB / 0.7204 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.2466, allocations: 3.938 kB / 0.7204 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.2468, allocations: 65.11 kB / 0.7205 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2468, allocations: 4 kB / 0.7205 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2468, allocations: 3.938 kB / 0.7205 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2468, allocations: 0 / 0.7205 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.2469, allocations: 157.6 kB / 0.7207 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.247, allocations: 4 kB / 0.7207 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.247, allocations: 4 kB / 0.7207 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.247, allocations: 4.312 kB / 0.7207 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.247, allocations: 0 / 0.7207 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.247, allocations: 0 / 0.7207 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.247, allocations: 4 kB / 0.7207 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.2471, allocations: 81.05 kB / 0.7207 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.2472, allocations: 81.11 kB / 0.7208 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2472, allocations: 11.92 kB / 0.7208 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.007e-05/0.2472, allocations: 0 / 0.7208 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.2473, allocations: 0 / 0.7208 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2473, allocations: 4 kB / 0.7208 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.2473, allocations: 75.28 kB / 0.7209 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2473, allocations: 0 / 0.7209 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002115/0.2475, allocations: 19.94 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.0001997/0.2477, allocations: 115.2 kB / 0.721 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.2479, allocations: 27.92 kB / 0.7211 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2479, allocations: 0 / 0.7211 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.2479, allocations: 8 kB / 0.7211 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.248, allocations: 6.188 kB / 0.7211 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.2483, allocations: 101 kB / 0.7212 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.2486, allocations: 0.6807 MB / 0.7218 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.2486, allocations: 0 / 0.7218 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.2487, allocations: 11.44 kB / 0.7219 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of SimCode: time 4.5e-07/0.2487, allocations: 0 / 0.7219 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of Templates: time 0.003052/0.2517, allocations: 0.6061 MB / 0.7224 GB, free: 1.371 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