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.1207/0.1207, allocations: 23.03 MB / 38.67 MB, free: 1.793 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009315/0.009315, allocations: 1.431 MB / 47.3 MB, free: 2.359 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.00136/0.00136, allocations: 104 kB / 54.94 MB, free: 6.34 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.001581/0.001581, allocations: 189.4 kB / 62.68 MB, free: 14.5 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.441/1.441, allocations: 222.9 MB / 293.2 MB, free: 13.26 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9111/0.9111, allocations: 127.5 MB / 477.6 MB, free: 72 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003756/0.003756, allocations: 139.8 kB / 0.6423 GB, free: 12.76 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4283, allocations: 82.42 MB / 0.7228 GB, free: 9.719 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001904/0.4302, allocations: 1.039 MB / 0.7238 GB, free: 8.949 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.4321, allocations: 1.388 MB / 0.7252 GB, free: 7.836 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.4321, allocations: 1.094 kB / 0.7252 GB, free: 7.836 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.113e-05/0.4321, allocations: 0 / 0.7252 GB, free: 7.836 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.4326, allocations: 106.2 kB / 0.7253 GB, free: 7.762 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.4326, allocations: 0 / 0.7253 GB, free: 7.762 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 3.562e-05/0.4326, allocations: 3.094 kB / 0.7253 GB, free: 7.762 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.4327, allocations: 5.734 kB / 0.7253 GB, free: 7.758 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.4327, allocations: 5.969 kB / 0.7253 GB, free: 7.754 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.4327, allocations: 5.375 kB / 0.7253 GB, free: 7.75 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.4327, allocations: 0 / 0.7253 GB, free: 7.75 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.4331, allocations: 198.3 kB / 0.7255 GB, free: 7.633 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 5.961e-06/0.4331, allocations: 0 / 0.7255 GB, free: 7.633 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.4331, allocations: 9.25 kB / 0.7255 GB, free: 7.625 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.4333, allocations: 97.84 kB / 0.7256 GB, free: 7.57 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4333, allocations: 0 / 0.7256 GB, free: 7.57 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4333, allocations: 0 / 0.7256 GB, free: 7.57 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4334, allocations: 0 / 0.7256 GB, free: 7.57 MB / 0.5138 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.0003095/0.4337, allocations: 331.1 kB / 0.7259 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.4337, allocations: 9.281 kB / 0.7259 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.4337, allocations: 2.094 kB / 0.7259 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4339, allocations: 173.4 kB / 0.7261 GB, free: 7 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4339, allocations: 4.375 kB / 0.7261 GB, free: 6.996 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.4339, allocations: 6.75 kB / 0.7261 GB, free: 6.992 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.434, allocations: 43.62 kB / 0.7262 GB, free: 6.949 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.434, allocations: 0 / 0.7262 GB, free: 6.949 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.434, allocations: 0 / 0.7262 GB, free: 6.949 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.434, allocations: 5.359 kB / 0.7262 GB, free: 6.945 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.4341, allocations: 14.92 kB / 0.7262 GB, free: 6.938 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.4342, allocations: 149.7 kB / 0.7263 GB, free: 6.746 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 9.35e-05/0.4343, allocations: 43.95 kB / 0.7264 GB, free: 6.707 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.4344, allocations: 20.2 kB / 0.7264 GB, free: 6.691 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/0.4348, allocations: 339.6 kB / 0.7267 GB, free: 6.305 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.4348, allocations: 39.91 kB / 0.7267 GB, free: 6.258 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4348, allocations: 0 / 0.7267 GB, free: 6.258 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4): time 0.0001456/0.435, allocations: 54.66 kB / 0.7268 GB, free: 6.215 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.435, allocations: 53.06 kB / 0.7268 GB, free: 6.152 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.303e-05/0.4351, allocations: 93.86 kB / 0.7269 GB, free: 6.051 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.4351, allocations: 25.7 kB / 0.727 GB, free: 6.02 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.4352, allocations: 80.14 kB / 0.727 GB, free: 5.938 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.4352, allocations: 10.78 kB / 0.727 GB, free: 5.93 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.4352, allocations: 20.22 kB / 0.7271 GB, free: 5.906 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4354, allocations: 316.2 kB / 0.7274 GB, free: 5.59 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.4354, allocations: 8.375 kB / 0.7274 GB, free: 5.586 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.4354, allocations: 3.344 kB / 0.7274 GB, free: 5.586 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.807e-05/0.4355, allocations: 29.84 kB / 0.7274 GB, free: 5.562 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4355, allocations: 1.281 kB / 0.7274 GB, free: 5.562 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.268e-05/0.4356, allocations: 43.77 kB / 0.7274 GB, free: 5.527 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4356, allocations: 9.125 kB / 0.7275 GB, free: 5.523 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4356, allocations: 3.984 kB / 0.7275 GB, free: 5.52 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.4356, allocations: 0 / 0.7275 GB, free: 5.52 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.4357, allocations: 9.719 kB / 0.7275 GB, free: 5.516 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4357, allocations: 1.5 kB / 0.7275 GB, free: 5.516 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.4357, allocations: 3.953 kB / 0.7275 GB, free: 5.512 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.4357, allocations: 1.656 kB / 0.7275 GB, free: 5.512 MB / 0.5138 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 7.74e-05/0.4358, allocations: 115.5 kB / 0.7276 GB, free: 5.391 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.4358, allocations: 5.219 kB / 0.7276 GB, free: 5.387 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.4359, allocations: 67.83 kB / 0.7277 GB, free: 5.324 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4359, allocations: 0 / 0.7277 GB, free: 5.324 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4359, allocations: 384 / 0.7277 GB, free: 5.324 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4359, allocations: 1.531 kB / 0.7277 GB, free: 5.324 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4361, allocations: 153.7 kB / 0.7278 GB, free: 5.129 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4361, allocations: 3.984 kB / 0.7278 GB, free: 5.125 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.4361, allocations: 9.719 kB / 0.7278 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4361, allocations: 11.92 kB / 0.7278 GB, free: 5.109 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4361, allocations: 1.469 kB / 0.7278 GB, free: 5.109 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4361, allocations: 0 / 0.7278 GB, free: 5.109 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4361, allocations: 0 / 0.7278 GB, free: 5.109 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.256e-05/0.4362, allocations: 71.88 kB / 0.7279 GB, free: 5.035 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.4363, allocations: 78.2 kB / 0.728 GB, free: 4.941 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.4363, allocations: 9.031 kB / 0.728 GB, free: 4.934 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.4363, allocations: 4 kB / 0.728 GB, free: 4.93 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.4364, allocations: 10.23 kB / 0.728 GB, free: 4.922 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4364, allocations: 1.188 kB / 0.728 GB, free: 4.922 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.4364, allocations: 75.28 kB / 0.7281 GB, free: 4.848 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4364, allocations: 0 / 0.7281 GB, free: 4.848 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002032/0.4366, allocations: 17.03 kB / 0.7281 GB, free: 4.844 MB / 0.5138 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.0001546/0.4368, allocations: 117.1 kB / 0.7282 GB, free: 4.738 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 8.428e-05/0.4369, allocations: 25.73 kB / 0.7282 GB, free: 4.727 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.4369, allocations: 4 kB / 0.7282 GB, free: 4.723 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/0.4369, allocations: 8.25 kB / 0.7282 GB, free: 4.723 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.437, allocations: 9.312 kB / 0.7282 GB, free: 4.715 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.4372, allocations: 90.78 kB / 0.7283 GB, free: 4.613 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.4375, allocations: 0.6769 MB / 0.729 GB, free: 3.914 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.4375, allocations: 5.312 kB / 0.729 GB, free: 3.91 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.4376, allocations: 10.19 kB / 0.729 GB, free: 3.902 MB / 0.5138 GB Notification: Performance of SimCode: time 2.41e-07/0.4376, allocations: 0 / 0.729 GB, free: 3.902 MB / 0.5138 GB Notification: Performance of Templates: time 0.00267/0.4403, allocations: 0.5996 MB / 0.7296 GB, free: 3.586 MB / 0.5138 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