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.01327/0.01327, allocations: 1.435 MB / 17.06 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.115/0.115, allocations: 22.37 MB / 40.48 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.001134/0.001134, allocations: 118.8 kB / 47.97 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.001414/0.001414, allocations: 203.1 kB / 55.58 MB, free: 6.164 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.324/1.324, allocations: 222.9 MB / 285.9 MB, free: 1.164 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8317/0.8317, allocations: 127.8 MB / 470.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 123.8 kB / 0.6353 GB, free: 11.21 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1491, allocations: 82.35 MB / 0.7157 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001737/0.1509, allocations: 1.02 MB / 0.7167 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1525, allocations: 1.384 MB / 0.718 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.1525, allocations: 0 / 0.718 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.1526, allocations: 3.938 kB / 0.718 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.153, allocations: 95.7 kB / 0.7181 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.153, allocations: 0 / 0.7181 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.283e-05/0.153, allocations: 7.922 kB / 0.7181 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1531, allocations: 15.98 kB / 0.7181 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/0.1531, allocations: 11.88 kB / 0.7182 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.1531, allocations: 4 kB / 0.7182 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.651e-06/0.1531, allocations: 0 / 0.7182 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.1535, allocations: 191.7 kB / 0.7183 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.46e-06/0.1535, allocations: 0 / 0.7183 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.1535, allocations: 11.92 kB / 0.7183 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1537, allocations: 91.73 kB / 0.7184 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1537, allocations: 0 / 0.7184 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1537, allocations: 0 / 0.7184 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.1537, allocations: 0 / 0.7184 GB, free: 5.949 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.0002643/0.154, allocations: 335.3 kB / 0.7188 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.154, allocations: 12.03 kB / 0.7188 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.154, allocations: 8.891 kB / 0.7188 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.161e-05/0.1541, allocations: 160.4 kB / 0.7189 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1541, allocations: 4.312 kB / 0.7189 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.1542, allocations: 4.375 kB / 0.7189 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.888e-05/0.1543, allocations: 42 kB / 0.719 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1543, allocations: 0 / 0.719 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1543, allocations: 0 / 0.719 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1543, allocations: 7.938 kB / 0.719 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.031e-05/0.1543, allocations: 15.98 kB / 0.719 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1545, allocations: 149.7 kB / 0.7191 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.1546, allocations: 38.61 kB / 0.7192 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.1546, allocations: 12.86 kB / 0.7192 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/0.155, allocations: 344.5 kB / 0.7195 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.155, allocations: 42.5 kB / 0.7196 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.155, allocations: 0 / 0.7196 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001422/0.1551, allocations: 57.62 kB / 0.7196 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.1552, allocations: 51.41 kB / 0.7197 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.106e-05/0.1552, allocations: 89.86 kB / 0.7198 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1552, allocations: 25.7 kB / 0.7198 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.1553, allocations: 80.14 kB / 0.7199 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1553, allocations: 19.84 kB / 0.7199 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.1553, allocations: 21.7 kB / 0.7199 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.1554, allocations: 310.8 kB / 0.7202 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.1554, allocations: 8 kB / 0.7202 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.1555, allocations: 4 kB / 0.7202 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.1555, allocations: 33.05 kB / 0.7202 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1555, allocations: 0 / 0.7202 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.628e-05/0.1556, allocations: 49.69 kB / 0.7203 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1556, allocations: 7.938 kB / 0.7203 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1556, allocations: 4 kB / 0.7203 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1556, allocations: 3.938 kB / 0.7203 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.1557, allocations: 8 kB / 0.7203 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1557, allocations: 0 / 0.7203 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.1557, allocations: 4 kB / 0.7203 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.1557, allocations: 0 / 0.7203 GB, free: 3.738 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 5.69e-05/0.1558, allocations: 109.8 kB / 0.7204 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.1558, allocations: 3.938 kB / 0.7204 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.1559, allocations: 69.11 kB / 0.7205 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1559, allocations: 3.938 kB / 0.7205 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1559, allocations: 0 / 0.7205 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1559, allocations: 0 / 0.7205 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.33e-05/0.156, allocations: 165.6 kB / 0.7206 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.156, allocations: 0 / 0.7206 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.1561, allocations: 8 kB / 0.7206 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1561, allocations: 3.938 kB / 0.7207 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1561, allocations: 0 / 0.7207 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1561, allocations: 0 / 0.7207 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1561, allocations: 0 / 0.7207 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.827e-05/0.1562, allocations: 81.06 kB / 0.7207 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.1562, allocations: 81.11 kB / 0.7208 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1562, allocations: 7.922 kB / 0.7208 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.1563, allocations: 4 kB / 0.7208 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.1563, allocations: 0 / 0.7208 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1563, allocations: 0 / 0.7208 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.255e-05/0.1563, allocations: 75.28 kB / 0.7209 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1563, allocations: 0 / 0.7209 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001888/0.1565, allocations: 19.94 kB / 0.7209 GB, free: 3.012 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.0001403/0.1567, allocations: 115.2 kB / 0.721 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.1567, allocations: 19.98 kB / 0.721 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1568, allocations: 0 / 0.721 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.749e-05/0.1568, allocations: 15.94 kB / 0.7211 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1569, allocations: 6.344 kB / 0.7211 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.1571, allocations: 93.34 kB / 0.7211 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1573, allocations: 0.6807 MB / 0.7218 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.1573, allocations: 7.984 kB / 0.7218 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.1574, allocations: 7.438 kB / 0.7218 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.1574, allocations: 0 / 0.7218 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of Templates: time 0.002397/0.1598, allocations: 0.6059 MB / 0.7224 GB, free: 1.402 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=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