Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8638/0.8638, allocations: 123 MB / 138.2 MB, free: 10.41 MB / 122.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 191.5 kB / 164.5 MB, free: 12.34 MB / 138.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.7 MB / 416.4 MB, free: 15.07 MB / 330.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.00084, allocations: 97.81 kB / 493 MB, free: 18.38 MB / 362.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo): time 0.09115/0.09115, allocations: 20.49 MB / 0.5762 GB, free: 6.082 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004642, allocations: 19.23 kB / 0.6679 GB, free: 118.9 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1367, allocations: 81.84 MB / 0.7478 GB, free: 38.91 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.0009189/0.1377, allocations: 0.7506 MB / 0.7485 GB, free: 38.16 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1392, allocations: 1.758 MB / 0.7503 GB, free: 36.3 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.1393, allocations: 4 kB / 0.7503 GB, free: 36.29 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.1393, allocations: 0 / 0.7503 GB, free: 36.29 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.1396, allocations: 71.8 kB / 0.7503 GB, free: 36.22 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.635e-06/0.1396, allocations: 0 / 0.7503 GB, free: 36.22 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 3.431e-05/0.1397, allocations: 11.92 kB / 0.7503 GB, free: 36.21 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.1397, allocations: 0 / 0.7503 GB, free: 36.21 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.605e-05/0.1397, allocations: 7.922 kB / 0.7503 GB, free: 36.2 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.337e-05/0.1398, allocations: 4 kB / 0.7504 GB, free: 36.2 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-06/0.1398, allocations: 0 / 0.7504 GB, free: 36.2 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.1401, allocations: 187.7 kB / 0.7505 GB, free: 36.02 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-06/0.1401, allocations: 4 kB / 0.7505 GB, free: 36.01 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.1401, allocations: 41.56 kB / 0.7506 GB, free: 35.96 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1403, allocations: 83.86 kB / 0.7507 GB, free: 35.88 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1403, allocations: 0 / 0.7507 GB, free: 35.88 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1403, allocations: 0 / 0.7507 GB, free: 35.88 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1403, allocations: 0 / 0.7507 GB, free: 35.88 MB / 490.8 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.0002304/0.1406, allocations: 334.5 kB / 0.751 GB, free: 35.51 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1406, allocations: 8.031 kB / 0.751 GB, free: 35.5 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.1406, allocations: 4.844 kB / 0.751 GB, free: 35.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.911e-05/0.1407, allocations: 164.4 kB / 0.7511 GB, free: 35.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1407, allocations: 384 / 0.7511 GB, free: 35.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1407, allocations: 4.375 kB / 0.7511 GB, free: 35.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1409, allocations: 45.94 kB / 0.7512 GB, free: 35.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.1409, allocations: 3.938 kB / 0.7512 GB, free: 35.24 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1409, allocations: 0 / 0.7512 GB, free: 35.24 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1409, allocations: 4 kB / 0.7512 GB, free: 35.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.1409, allocations: 8 kB / 0.7512 GB, free: 35.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.1411, allocations: 157.9 kB / 0.7514 GB, free: 35.03 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.558e-05/0.1412, allocations: 46.61 kB / 0.7514 GB, free: 34.97 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.1412, allocations: 12.86 kB / 0.7514 GB, free: 34.96 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.1415, allocations: 336.5 kB / 0.7517 GB, free: 34.55 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.1415, allocations: 46.42 kB / 0.7518 GB, free: 34.5 MB / 490.8 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1415, allocations: 0 / 0.7518 GB, free: 34.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001359/0.1417, allocations: 61.86 kB / 0.7518 GB, free: 34.43 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.1417, allocations: 51.41 kB / 0.7519 GB, free: 34.37 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.923e-05/0.1417, allocations: 89.86 kB / 0.752 GB, free: 34.27 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.1417, allocations: 29.7 kB / 0.752 GB, free: 34.24 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.456e-05/0.1417, allocations: 80.14 kB / 0.7521 GB, free: 34.16 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.1418, allocations: 15.8 kB / 0.7521 GB, free: 34.14 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.1418, allocations: 0 / 0.7521 GB, free: 34.14 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.1418, allocations: 310.8 kB / 0.7524 GB, free: 33.83 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.1419, allocations: 11.98 kB / 0.7524 GB, free: 33.82 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-06/0.1419, allocations: 8 kB / 0.7524 GB, free: 33.81 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.1419, allocations: 24.8 kB / 0.7524 GB, free: 33.78 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1419, allocations: 0 / 0.7524 GB, free: 33.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.545e-05/0.142, allocations: 49.69 kB / 0.7525 GB, free: 33.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.142, allocations: 13.12 kB / 0.7525 GB, free: 33.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.142, allocations: 0 / 0.7525 GB, free: 33.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.142, allocations: 0 / 0.7525 GB, free: 33.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.1421, allocations: 12 kB / 0.7525 GB, free: 33.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1421, allocations: 0 / 0.7525 GB, free: 33.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.1421, allocations: 3.984 kB / 0.7525 GB, free: 33.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1421, allocations: 4 kB / 0.7525 GB, free: 33.7 MB / 490.8 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 5.042e-05/0.1422, allocations: 109.8 kB / 0.7526 GB, free: 33.58 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-06/0.1422, allocations: 7.875 kB / 0.7526 GB, free: 33.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.1423, allocations: 57.19 kB / 0.7527 GB, free: 33.51 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1423, allocations: 0 / 0.7527 GB, free: 33.51 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1423, allocations: 0 / 0.7527 GB, free: 33.51 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1423, allocations: 0 / 0.7527 GB, free: 33.51 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.068e-05/0.1424, allocations: 157.6 kB / 0.7528 GB, free: 33.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1424, allocations: 4 kB / 0.7528 GB, free: 33.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.1424, allocations: 8 kB / 0.7528 GB, free: 33.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1424, allocations: 3.938 kB / 0.7528 GB, free: 33.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1425, allocations: 7.984 kB / 0.7529 GB, free: 33.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1425, allocations: 0 / 0.7529 GB, free: 33.28 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1425, allocations: 0 / 0.7529 GB, free: 33.28 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.54e-05/0.1425, allocations: 81.06 kB / 0.7529 GB, free: 33.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.1426, allocations: 81.02 kB / 0.753 GB, free: 33.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.1426, allocations: 7.938 kB / 0.753 GB, free: 33.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.1426, allocations: 0 / 0.753 GB, free: 33.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.1426, allocations: 4 kB / 0.753 GB, free: 33.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1426, allocations: 0 / 0.753 GB, free: 33.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.182e-05/0.1426, allocations: 75.28 kB / 0.7531 GB, free: 33 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1426, allocations: 0 / 0.7531 GB, free: 33 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002052/0.1428, allocations: 19.98 kB / 0.7531 GB, free: 32.98 MB / 490.8 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.0001258/0.143, allocations: 115.2 kB / 0.7532 GB, free: 32.86 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 7.919e-05/0.1431, allocations: 28.16 kB / 0.7532 GB, free: 32.83 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1431, allocations: 0 / 0.7532 GB, free: 32.83 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/0.1431, allocations: 11.98 kB / 0.7533 GB, free: 32.82 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1432, allocations: 11.52 kB / 0.7533 GB, free: 32.81 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001807/0.1434, allocations: 98.69 kB / 0.7534 GB, free: 32.69 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.1435, allocations: 0.6731 MB / 0.754 GB, free: 31.99 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 2.45e-05/0.1436, allocations: 8 kB / 0.754 GB, free: 31.98 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.1436, allocations: 7.438 kB / 0.754 GB, free: 31.97 MB / 490.8 MB Notification: Performance of SimCode: time 8.22e-07/0.1436, allocations: 3.938 kB / 0.754 GB, free: 31.97 MB / 490.8 MB Notification: Performance of Templates: time 0.002296/0.1459, allocations: 0.5817 MB / 0.7546 GB, free: 31.39 MB / 490.8 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 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1)