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/TILMedia 1.8.2-main/package.mo", uses=false) 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/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 SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.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/TILMedia 1.8.2-main/package.mo): time 0.1584/0.1584, allocations: 23.16 MB / 40.14 MB, free: 8.039 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.03839/0.03839, allocations: 1.444 MB / 48.97 MB, free: 2.27 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.001737/0.001737, allocations: 103.1 kB / 56.8 MB, free: 8.109 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 191.5 kB / 64.74 MB, free: 156 kB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 225.6 MB / 298.1 MB, free: 1.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.018/1.018, allocations: 129 MB / 487 MB, free: 4.445 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003603/0.003603, allocations: 127.8 kB / 0.6604 GB, free: 9.984 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2365, allocations: 86.84 MB / 0.7452 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.0023/0.2388, allocations: 1.014 MB / 0.7462 GB, free: 1.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.241, allocations: 1.408 MB / 0.7475 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.241, allocations: 3.938 kB / 0.7475 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.2411, allocations: 0 / 0.7475 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.2416, allocations: 96.14 kB / 0.7476 GB, free: 468 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.2416, allocations: 0 / 0.7476 GB, free: 468 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.751e-05/0.2416, allocations: 15.88 kB / 0.7477 GB, free: 452 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.2417, allocations: 0 / 0.7477 GB, free: 452 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.066e-05/0.2417, allocations: 7.984 kB / 0.7477 GB, free: 444 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.2417, allocations: 0 / 0.7477 GB, free: 444 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.2417, allocations: 4 kB / 0.7477 GB, free: 440 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.2422, allocations: 199.7 kB / 0.7479 GB, free: 240 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2422, allocations: 3.938 kB / 0.7479 GB, free: 236 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.2422, allocations: 0 / 0.7479 GB, free: 236 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.2424, allocations: 99.67 kB / 0.748 GB, free: 136 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2424, allocations: 0 / 0.748 GB, free: 136 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2424, allocations: 0 / 0.748 GB, free: 136 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.2425, allocations: 0 / 0.748 GB, free: 136 kB / 0.545 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.0004589/0.2429, allocations: 335.3 kB / 0.7483 GB, free: 15.76 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.243, allocations: 12.03 kB / 0.7483 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.243, allocations: 0.9375 kB / 0.7483 GB, free: 15.75 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.2432, allocations: 168.4 kB / 0.7484 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2432, allocations: 384 / 0.7484 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2432, allocations: 384 / 0.7484 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2433, allocations: 42.02 kB / 0.7485 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2434, allocations: 0 / 0.7485 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2434, allocations: 0 / 0.7485 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2434, allocations: 0 / 0.7485 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.948e-05/0.2434, allocations: 19.92 kB / 0.7485 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.2436, allocations: 161.7 kB / 0.7487 GB, free: 15.27 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.2437, allocations: 30.58 kB / 0.7487 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.2438, allocations: 16.94 kB / 0.7487 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/0.2443, allocations: 340.4 kB / 0.749 GB, free: 14.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2443, allocations: 38.5 kB / 0.7491 GB, free: 14.76 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2443, allocations: 4 kB / 0.7491 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of matching and sorting (n=4): time 0.0002008/0.2445, allocations: 57.62 kB / 0.7491 GB, free: 14.69 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2445, allocations: 51.41 kB / 0.7492 GB, free: 14.63 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.331e-05/0.2446, allocations: 89.86 kB / 0.7493 GB, free: 14.53 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2446, allocations: 25.7 kB / 0.7493 GB, free: 14.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.2447, allocations: 80.14 kB / 0.7494 GB, free: 14.42 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.2447, allocations: 19.83 kB / 0.7494 GB, free: 14.4 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.2448, allocations: 17.72 kB / 0.7494 GB, free: 14.38 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2449, allocations: 314.8 kB / 0.7497 GB, free: 14.06 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.2449, allocations: 8 kB / 0.7497 GB, free: 14.05 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.245, allocations: 16.09 kB / 0.7497 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.961e-05/0.245, allocations: 24.8 kB / 0.7497 GB, free: 14.01 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.245, allocations: 0 / 0.7497 GB, free: 14.01 MB / 0.5607 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.784e-05/0.2451, allocations: 53.62 kB / 0.7498 GB, free: 13.95 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2451, allocations: 7.938 kB / 0.7498 GB, free: 13.94 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2451, allocations: 0 / 0.7498 GB, free: 13.94 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2451, allocations: 0 / 0.7498 GB, free: 13.94 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.196e-05/0.2452, allocations: 12 kB / 0.7498 GB, free: 13.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2452, allocations: 3.984 kB / 0.7498 GB, free: 13.93 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.2452, allocations: 3.953 kB / 0.7498 GB, free: 13.92 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.2452, allocations: 4 kB / 0.7498 GB, free: 13.92 MB / 0.5607 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.000103/0.2453, allocations: 114.4 kB / 0.7499 GB, free: 13.8 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.2453, allocations: 3.938 kB / 0.7499 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.2455, allocations: 61.12 kB / 0.75 GB, free: 13.72 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2455, allocations: 0 / 0.75 GB, free: 13.72 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2455, allocations: 4 kB / 0.75 GB, free: 13.72 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2455, allocations: 0 / 0.75 GB, free: 13.72 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2457, allocations: 157.7 kB / 0.7502 GB, free: 13.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2457, allocations: 0 / 0.7502 GB, free: 13.52 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.2457, allocations: 4 kB / 0.7502 GB, free: 13.51 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2457, allocations: 7.938 kB / 0.7502 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2457, allocations: 0 / 0.7502 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2457, allocations: 0 / 0.7502 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2457, allocations: 0 / 0.7502 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.2458, allocations: 81.09 kB / 0.7502 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.2459, allocations: 81.09 kB / 0.7503 GB, free: 13.31 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2459, allocations: 7.938 kB / 0.7503 GB, free: 13.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.2459, allocations: 0 / 0.7503 GB, free: 13.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.2459, allocations: 4 kB / 0.7503 GB, free: 13.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.2459, allocations: 4 kB / 0.7503 GB, free: 13.29 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.246, allocations: 79.28 kB / 0.7504 GB, free: 13.21 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/0.246, allocations: 0 / 0.7504 GB, free: 13.21 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002193/0.2462, allocations: 19.92 kB / 0.7504 GB, free: 13.2 MB / 0.5607 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.0002273/0.2464, allocations: 125.6 kB / 0.7505 GB, free: 13.06 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.2465, allocations: 16.23 kB / 0.7506 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2465, allocations: 0 / 0.7506 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/0.2466, allocations: 16.02 kB / 0.7506 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2467, allocations: 0 / 0.7506 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.2471, allocations: 126.8 kB / 0.7507 GB, free: 12.88 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.2474, allocations: 0.6729 MB / 0.7514 GB, free: 12.18 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.2474, allocations: 19.38 kB / 0.7514 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of SimCode: time 6.41e-07/0.2474, allocations: 0 / 0.7514 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of Templates: time 0.002923/0.2504, allocations: 0.6947 MB / 0.7521 GB, free: 11.46 MB / 0.5607 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