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.02139/0.02139, allocations: 1.414 MB / 16.39 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1741/0.1741, allocations: 22.6 MB / 40 MB, free: 1.148 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.0008179/0.0008179, allocations: 96.55 kB / 47.73 MB, free: 2.449 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.001299/0.001299, allocations: 178.7 kB / 55.58 MB, free: 6.238 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.626/1.626, allocations: 223.3 MB / 286.5 MB, free: 15.68 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.082/1.082, allocations: 127.7 MB / 472.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007133/0.0007134, allocations: 20 kB / 0.556 GB, free: 17.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2381, allocations: 83.88 MB / 0.6379 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001205/0.2394, allocations: 0.648 MB / 0.6385 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.2418, allocations: 1.34 MB / 0.6399 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.2418, allocations: 3.938 kB / 0.6399 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.2419, allocations: 0 / 0.6399 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.2424, allocations: 75.8 kB / 0.6399 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.478e-06/0.2425, allocations: 0 / 0.6399 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.2425, allocations: 8 kB / 0.6399 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.9e-05/0.2426, allocations: 7.922 kB / 0.6399 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.2426, allocations: 7.922 kB / 0.64 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.2427, allocations: 4 kB / 0.64 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.2427, allocations: 0 / 0.64 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.2432, allocations: 191.6 kB / 0.6401 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.274e-06/0.2432, allocations: 0 / 0.6401 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.2432, allocations: 25.7 kB / 0.6402 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2434, allocations: 59.92 kB / 0.6402 GB, free: 11.31 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2434, allocations: 0 / 0.6402 GB, free: 11.31 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2434, allocations: 0 / 0.6402 GB, free: 11.31 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2434, allocations: 0 / 0.6402 GB, free: 11.31 MB / 478.1 MB 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.0003567/0.2438, allocations: 331.3 kB / 0.6405 GB, free: 10.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.2439, allocations: 8.031 kB / 0.6405 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.2439, allocations: 7.953 kB / 0.6406 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.244, allocations: 163.3 kB / 0.6407 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2441, allocations: 4 kB / 0.6407 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.2441, allocations: 4 kB / 0.6407 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2443, allocations: 41.62 kB / 0.6408 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2443, allocations: 0 / 0.6408 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2443, allocations: 4 kB / 0.6408 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.2443, allocations: 0 / 0.6408 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.655e-05/0.2444, allocations: 15.94 kB / 0.6408 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.2446, allocations: 149.7 kB / 0.6409 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.2447, allocations: 38.61 kB / 0.641 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.2448, allocations: 20.86 kB / 0.641 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004927/0.2453, allocations: 348.5 kB / 0.6413 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2453, allocations: 38.44 kB / 0.6413 GB, free: 9.922 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.2453, allocations: 0 / 0.6413 GB, free: 9.922 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002079/0.2456, allocations: 53.69 kB / 0.6414 GB, free: 9.863 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.2456, allocations: 51.41 kB / 0.6414 GB, free: 9.801 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.074e-05/0.2457, allocations: 93.86 kB / 0.6415 GB, free: 9.699 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2457, allocations: 25.7 kB / 0.6416 GB, free: 9.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.2457, allocations: 84.14 kB / 0.6416 GB, free: 9.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.2458, allocations: 11.81 kB / 0.6416 GB, free: 9.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.2458, allocations: 0 / 0.6416 GB, free: 9.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.246, allocations: 318.8 kB / 0.642 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.246, allocations: 4 kB / 0.642 GB, free: 9.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.246, allocations: 11.94 kB / 0.642 GB, free: 9.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.246, allocations: 12.22 kB / 0.642 GB, free: 9.223 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2461, allocations: 4 kB / 0.642 GB, free: 9.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.532e-05/0.2462, allocations: 53.67 kB / 0.642 GB, free: 9.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2462, allocations: 4 kB / 0.642 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2462, allocations: 0 / 0.642 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2462, allocations: 0 / 0.642 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.2463, allocations: 15.98 kB / 0.6421 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2463, allocations: 0 / 0.6421 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.2463, allocations: 0 / 0.6421 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2463, allocations: 0 / 0.6421 GB, free: 9.141 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.2464, allocations: 123.3 kB / 0.6422 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.2464, allocations: 0 / 0.6422 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.2466, allocations: 61.12 kB / 0.6422 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2466, allocations: 0 / 0.6422 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2466, allocations: 0 / 0.6422 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2466, allocations: 0 / 0.6422 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.2468, allocations: 161.5 kB / 0.6424 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2468, allocations: 0 / 0.6424 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.2468, allocations: 4 kB / 0.6424 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.2468, allocations: 7.984 kB / 0.6424 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2468, allocations: 4 kB / 0.6424 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2468, allocations: 0 / 0.6424 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2468, allocations: 0 / 0.6424 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.247, allocations: 81.02 kB / 0.6425 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.247, allocations: 84.98 kB / 0.6426 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.247, allocations: 0 / 0.6426 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.247, allocations: 0 / 0.6426 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.2471, allocations: 8 kB / 0.6426 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.2471, allocations: 4 kB / 0.6426 GB, free: 8.508 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.2471, allocations: 79.27 kB / 0.6426 GB, free: 8.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2471, allocations: 0 / 0.6426 GB, free: 8.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.2474, allocations: 16 kB / 0.6427 GB, free: 8.414 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/0.2476, allocations: 115.2 kB / 0.6428 GB, free: 8.293 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.2477, allocations: 16 kB / 0.6428 GB, free: 8.277 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2477, allocations: 0 / 0.6428 GB, free: 8.277 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.2478, allocations: 19.92 kB / 0.6428 GB, free: 8.258 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.2479, allocations: 11.45 kB / 0.6428 GB, free: 8.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.2483, allocations: 102.8 kB / 0.6429 GB, free: 8.121 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.2486, allocations: 0.6731 MB / 0.6436 GB, free: 7.422 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.714e-05/0.2486, allocations: 12.23 kB / 0.6436 GB, free: 7.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.2487, allocations: 11.44 kB / 0.6436 GB, free: 7.398 MB / 478.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2487, allocations: 0 / 0.6436 GB, free: 7.398 MB / 478.1 MB Notification: Performance of Templates: time 0.003389/0.2521, allocations: 0.5729 MB / 0.6442 GB, free: 6.828 MB / 478.1 MB 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