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.01362/0.01362, allocations: 1.429 MB / 16.93 MB, free: 5.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1159/0.1159, allocations: 22.38 MB / 40.35 MB, free: 0.7461 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.001094/0.001094, allocations: 101.9 kB / 47.83 MB, free: 2.395 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.001423/0.001423, allocations: 192.5 kB / 55.43 MB, free: 6.438 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.326/1.326, allocations: 222.9 MB / 285.8 MB, free: 1.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8538/0.8538, allocations: 127.8 MB / 470.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 128.8 kB / 0.5533 GB, free: 42.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.138, allocations: 82.36 MB / 0.6337 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001969/0.14, allocations: 1.009 MB / 0.6347 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1416, allocations: 1.4 MB / 0.6361 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.1417, allocations: 4 kB / 0.6361 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.1417, allocations: 0 / 0.6361 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.1421, allocations: 95.62 kB / 0.6362 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.1421, allocations: 0 / 0.6362 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.803e-05/0.1422, allocations: 8 kB / 0.6362 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.1422, allocations: 4 kB / 0.6362 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.397e-05/0.1422, allocations: 0 / 0.6362 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.413e-05/0.1423, allocations: 3.938 kB / 0.6362 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.522e-06/0.1423, allocations: 4 kB / 0.6362 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.1426, allocations: 195.7 kB / 0.6364 GB, free: 10 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-06/0.1426, allocations: 3.938 kB / 0.6364 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.1426, allocations: 0 / 0.6364 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1428, allocations: 95.81 kB / 0.6365 GB, free: 9.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1428, allocations: 0 / 0.6365 GB, free: 9.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1428, allocations: 0 / 0.6365 GB, free: 9.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1428, allocations: 0 / 0.6365 GB, free: 9.902 MB / 462.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.0002753/0.1431, allocations: 331.9 kB / 0.6368 GB, free: 9.531 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1432, allocations: 16.02 kB / 0.6368 GB, free: 9.516 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1432, allocations: 4.844 kB / 0.6368 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.869e-05/0.1433, allocations: 164.3 kB / 0.637 GB, free: 9.312 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1433, allocations: 4.375 kB / 0.637 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.1433, allocations: 4.359 kB / 0.637 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1434, allocations: 45.94 kB / 0.637 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1434, allocations: 4 kB / 0.637 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1435, allocations: 0 / 0.637 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1435, allocations: 0 / 0.637 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.1435, allocations: 15.94 kB / 0.637 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.1437, allocations: 165.7 kB / 0.6372 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.115e-05/0.1438, allocations: 34.61 kB / 0.6372 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.1438, allocations: 16.86 kB / 0.6372 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003748/0.1442, allocations: 344.4 kB / 0.6376 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1442, allocations: 38.44 kB / 0.6376 GB, free: 8.504 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1442, allocations: 4 kB / 0.6376 GB, free: 8.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001528/0.1444, allocations: 53.69 kB / 0.6377 GB, free: 8.441 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1444, allocations: 55.39 kB / 0.6377 GB, free: 8.375 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.087e-05/0.1445, allocations: 93.86 kB / 0.6378 GB, free: 8.273 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.1445, allocations: 25.7 kB / 0.6378 GB, free: 8.242 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.1445, allocations: 80.14 kB / 0.6379 GB, free: 8.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.1445, allocations: 11.81 kB / 0.6379 GB, free: 8.148 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.1446, allocations: 13.72 kB / 0.6379 GB, free: 8.129 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.1447, allocations: 318.8 kB / 0.6382 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.1447, allocations: 7.984 kB / 0.6382 GB, free: 7.801 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.1447, allocations: 11.94 kB / 0.6383 GB, free: 7.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.1448, allocations: 20.86 kB / 0.6383 GB, free: 7.766 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1448, allocations: 0 / 0.6383 GB, free: 7.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.786e-05/0.1448, allocations: 49.69 kB / 0.6383 GB, free: 7.711 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1449, allocations: 7.938 kB / 0.6383 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1449, allocations: 4 kB / 0.6383 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1449, allocations: 0 / 0.6383 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.1449, allocations: 11.98 kB / 0.6383 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.145, allocations: 0 / 0.6383 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.145, allocations: 0 / 0.6383 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.145, allocations: 4 kB / 0.6384 GB, free: 7.684 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.1451, allocations: 109.8 kB / 0.6385 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.1451, allocations: 3.938 kB / 0.6385 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.1452, allocations: 65.5 kB / 0.6385 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1452, allocations: 0 / 0.6385 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1452, allocations: 4 kB / 0.6385 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1452, allocations: 0 / 0.6385 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.343e-05/0.1453, allocations: 153.6 kB / 0.6387 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1453, allocations: 4 kB / 0.6387 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.1454, allocations: 7.984 kB / 0.6387 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1454, allocations: 7.875 kB / 0.6387 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1454, allocations: 4 kB / 0.6387 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1454, allocations: 0 / 0.6387 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1454, allocations: 3.938 kB / 0.6387 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.129e-05/0.1455, allocations: 77.12 kB / 0.6388 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.1455, allocations: 81.02 kB / 0.6389 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1455, allocations: 7.938 kB / 0.6389 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-06/0.1455, allocations: 0 / 0.6389 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.1456, allocations: 0 / 0.6389 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.1456, allocations: 11.98 kB / 0.6389 GB, free: 7.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.105e-05/0.1456, allocations: 75.28 kB / 0.6389 GB, free: 6.977 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1456, allocations: 3.938 kB / 0.6389 GB, free: 6.973 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001933/0.1458, allocations: 20 kB / 0.639 GB, free: 6.953 MB / 462.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 (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.0001472/0.146, allocations: 111.2 kB / 0.6391 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.1461, allocations: 31.92 kB / 0.6391 GB, free: 6.805 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1461, allocations: 0 / 0.6391 GB, free: 6.805 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.899e-05/0.1461, allocations: 12 kB / 0.6391 GB, free: 6.793 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1462, allocations: 2.031 kB / 0.6391 GB, free: 6.793 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.1464, allocations: 93.06 kB / 0.6392 GB, free: 6.676 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.1466, allocations: 0.6768 MB / 0.6399 GB, free: 5.973 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.382e-05/0.1467, allocations: 3.984 kB / 0.6399 GB, free: 5.969 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.1467, allocations: 11.44 kB / 0.6399 GB, free: 5.957 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1467, allocations: 0 / 0.6399 GB, free: 5.957 MB / 462.1 MB Notification: Performance of Templates: time 0.002449/0.1491, allocations: 0.5944 MB / 0.6405 GB, free: 5.367 MB / 462.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=50 -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