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.01338/0.01338, allocations: 1.428 MB / 17.06 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1216/0.1216, allocations: 22.38 MB / 40.49 MB, free: 0.5195 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.001152/0.001152, allocations: 120.6 kB / 47.98 MB, free: 2.133 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.001522/0.001522, allocations: 188.3 kB / 55.58 MB, free: 6.168 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.625/1.625, allocations: 222.9 MB / 285.9 MB, free: 1.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9974/0.9974, allocations: 127.8 MB / 470.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 131.8 kB / 0.6353 GB, free: 11.16 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2288, allocations: 82.33 MB / 0.7157 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001968/0.2308, allocations: 1.022 MB / 0.7167 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.2327, allocations: 1.396 MB / 0.718 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.2327, allocations: 0 / 0.718 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.227e-06/0.2327, allocations: 0 / 0.718 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.233, allocations: 95.64 kB / 0.7181 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.164e-06/0.233, allocations: 0 / 0.7181 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 2.832e-05/0.2331, allocations: 11.98 kB / 0.7181 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.2331, allocations: 4 kB / 0.7182 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.2331, allocations: 11.92 kB / 0.7182 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.2332, allocations: 0 / 0.7182 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.2332, allocations: 0 / 0.7182 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.2336, allocations: 203.6 kB / 0.7184 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.692e-06/0.2336, allocations: 0 / 0.7184 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.2336, allocations: 3.938 kB / 0.7184 GB, free: 6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.2338, allocations: 95.84 kB / 0.7185 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2338, allocations: 0 / 0.7185 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2338, allocations: 0 / 0.7185 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2338, allocations: 0 / 0.7185 GB, free: 5.906 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.0003699/0.2342, allocations: 335.5 kB / 0.7188 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2342, allocations: 8.031 kB / 0.7188 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.2343, allocations: 4.938 kB / 0.7188 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2344, allocations: 168.3 kB / 0.7189 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2344, allocations: 8.312 kB / 0.719 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2344, allocations: 384 / 0.719 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.2346, allocations: 46 kB / 0.719 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2346, allocations: 0 / 0.719 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2346, allocations: 0 / 0.719 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2346, allocations: 0 / 0.719 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.2347, allocations: 15.98 kB / 0.719 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.2348, allocations: 153.7 kB / 0.7192 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.235, allocations: 38.55 kB / 0.7192 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.235, allocations: 16.86 kB / 0.7192 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.2354, allocations: 344.5 kB / 0.7195 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2354, allocations: 34.5 kB / 0.7196 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2354, allocations: 3.938 kB / 0.7196 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001751/0.2356, allocations: 61.67 kB / 0.7196 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.2356, allocations: 55.41 kB / 0.7197 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.511e-05/0.2357, allocations: 89.86 kB / 0.7198 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2357, allocations: 25.7 kB / 0.7198 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.2357, allocations: 80.14 kB / 0.7199 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.2358, allocations: 11.81 kB / 0.7199 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.2358, allocations: 21.64 kB / 0.7199 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.236, allocations: 314.8 kB / 0.7202 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.236, allocations: 8 kB / 0.7202 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.236, allocations: 4 kB / 0.7202 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.2361, allocations: 28.84 kB / 0.7202 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2361, allocations: 0 / 0.7202 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.545e-05/0.2361, allocations: 45.69 kB / 0.7203 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2362, allocations: 13.34 kB / 0.7203 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2362, allocations: 0 / 0.7203 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2362, allocations: 0 / 0.7203 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.2363, allocations: 11.94 kB / 0.7203 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.2363, allocations: 4 kB / 0.7203 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.2363, allocations: 8 kB / 0.7203 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.2363, allocations: 0 / 0.7203 GB, free: 3.691 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.027e-05/0.2364, allocations: 105.8 kB / 0.7204 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.2364, allocations: 3.938 kB / 0.7204 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.2365, allocations: 61.17 kB / 0.7205 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2365, allocations: 3.938 kB / 0.7205 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2366, allocations: 0 / 0.7205 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2366, allocations: 4 kB / 0.7205 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.2367, allocations: 165.5 kB / 0.7207 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2367, allocations: 4 kB / 0.7207 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.2367, allocations: 7.938 kB / 0.7207 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2367, allocations: 3.938 kB / 0.7207 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2367, allocations: 0 / 0.7207 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2368, allocations: 0 / 0.7207 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2368, allocations: 4 kB / 0.7207 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.139e-05/0.2369, allocations: 73.12 kB / 0.7207 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.2369, allocations: 85.53 kB / 0.7208 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2369, allocations: 3.938 kB / 0.7208 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.2369, allocations: 3.984 kB / 0.7208 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.237, allocations: 0 / 0.7208 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.237, allocations: 4 kB / 0.7208 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.237, allocations: 75.28 kB / 0.7209 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.237, allocations: 0 / 0.7209 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001936/0.2372, allocations: 19.94 kB / 0.7209 GB, free: 2.969 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.0001687/0.2374, allocations: 119.2 kB / 0.721 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.24e-05/0.2375, allocations: 27.97 kB / 0.7211 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2375, allocations: 0 / 0.7211 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.851e-05/0.2375, allocations: 12 kB / 0.7211 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.2377, allocations: 0 / 0.7211 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.2379, allocations: 97.12 kB / 0.7212 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2382, allocations: 0.6768 MB / 0.7218 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.2382, allocations: 7.938 kB / 0.7218 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.2382, allocations: 11.44 kB / 0.7218 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of SimCode: time 2.11e-07/0.2382, allocations: 0 / 0.7218 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of Templates: time 0.002971/0.2412, allocations: 0.5945 MB / 0.7224 GB, free: 1.363 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