Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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: "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestMaxAbs,fileNamePrefix="ClaRa_ClaRa_Basics_Functions_TestCases_TestMaxAbs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestMaxAbs,fileNamePrefix="ClaRa_ClaRa_Basics_Functions_TestCases_TestMaxAbs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.189/0.189, allocations: 23.03 MB / 38.67 MB, free: 1.5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01213/0.01213, allocations: 1.444 MB / 47.31 MB, free: 2.188 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.001633/0.001633, allocations: 107.9 kB / 54.94 MB, free: 6.176 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.001396/0.001396, allocations: 191.5 kB / 62.68 MB, free: 14.64 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.542/1.542, allocations: 222.9 MB / 293.2 MB, free: 13.25 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9662/0.9662, allocations: 127.5 MB / 477.6 MB, free: 88 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003327/0.003327, allocations: 127.8 kB / 0.6418 GB, free: 13.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7147, allocations: 82.44 MB / 0.7224 GB, free: 9.492 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002412/0.7172, allocations: 1.021 MB / 0.7233 GB, free: 8.738 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.7196, allocations: 1.388 MB / 0.7247 GB, free: 7.625 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.7196, allocations: 0 / 0.7247 GB, free: 7.625 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.7197, allocations: 0 / 0.7247 GB, free: 7.625 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.7202, allocations: 111.3 kB / 0.7248 GB, free: 7.547 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 4.748e-06/0.7203, allocations: 0 / 0.7248 GB, free: 7.547 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.7203, allocations: 11.11 kB / 0.7248 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.7204, allocations: 1.75 kB / 0.7248 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.7204, allocations: 3.938 kB / 0.7248 GB, free: 7.535 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.7205, allocations: 2.562 kB / 0.7248 GB, free: 7.535 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.7205, allocations: 3.938 kB / 0.7248 GB, free: 7.531 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.7209, allocations: 194.6 kB / 0.725 GB, free: 7.418 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.7209, allocations: 3.984 kB / 0.725 GB, free: 7.414 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.7209, allocations: 5.719 kB / 0.725 GB, free: 7.41 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.7212, allocations: 95.92 kB / 0.7251 GB, free: 7.355 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7212, allocations: 0 / 0.7251 GB, free: 7.355 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7212, allocations: 0 / 0.7251 GB, free: 7.355 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.7212, allocations: 1.094 kB / 0.7251 GB, free: 7.355 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.0004104/0.7216, allocations: 334.7 kB / 0.7254 GB, free: 6.988 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.7217, allocations: 13 kB / 0.7255 GB, free: 6.984 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.7217, allocations: 36.06 kB / 0.7255 GB, free: 6.941 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.7218, allocations: 2.312 kB / 0.7255 GB, free: 6.941 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.7219, allocations: 164.4 kB / 0.7256 GB, free: 6.742 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.7219, allocations: 5.75 kB / 0.7256 GB, free: 6.738 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.7219, allocations: 1.75 kB / 0.7257 GB, free: 6.738 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.7221, allocations: 43.31 kB / 0.7257 GB, free: 6.695 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7221, allocations: 0 / 0.7257 GB, free: 6.695 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.7221, allocations: 0 / 0.7257 GB, free: 6.695 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7221, allocations: 1.375 kB / 0.7257 GB, free: 6.695 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.7222, allocations: 14.86 kB / 0.7257 GB, free: 6.688 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.7224, allocations: 149.8 kB / 0.7259 GB, free: 6.496 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.7225, allocations: 48.3 kB / 0.7259 GB, free: 6.453 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.7226, allocations: 15.73 kB / 0.7259 GB, free: 6.441 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/0.7231, allocations: 343.7 kB / 0.7262 GB, free: 6.051 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.7231, allocations: 35.88 kB / 0.7263 GB, free: 6.008 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.7231, allocations: 0 / 0.7263 GB, free: 6.008 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4): time 0.0001908/0.7233, allocations: 59.5 kB / 0.7263 GB, free: 5.961 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.7234, allocations: 55.41 kB / 0.7264 GB, free: 5.895 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.7234, allocations: 89.86 kB / 0.7265 GB, free: 5.797 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.7235, allocations: 31.08 kB / 0.7265 GB, free: 5.762 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.7235, allocations: 80.14 kB / 0.7266 GB, free: 5.68 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.7236, allocations: 9.281 kB / 0.7266 GB, free: 5.672 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.7236, allocations: 21.83 kB / 0.7266 GB, free: 5.648 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7238, allocations: 312.2 kB / 0.7269 GB, free: 5.336 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.7238, allocations: 2.75 kB / 0.7269 GB, free: 5.336 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.7238, allocations: 12.12 kB / 0.7269 GB, free: 5.328 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.7239, allocations: 26.41 kB / 0.7269 GB, free: 5.309 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7239, allocations: 0 / 0.7269 GB, free: 5.309 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.472e-05/0.724, allocations: 60.75 kB / 0.727 GB, free: 5.258 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.724, allocations: 8.062 kB / 0.727 GB, free: 5.254 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.724, allocations: 1.375 kB / 0.727 GB, free: 5.254 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.724, allocations: 0 / 0.727 GB, free: 5.254 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.7241, allocations: 5.5 kB / 0.727 GB, free: 5.254 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.7241, allocations: 1.375 kB / 0.727 GB, free: 5.254 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.7241, allocations: 7.891 kB / 0.727 GB, free: 5.246 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.7242, allocations: 9.312 kB / 0.727 GB, free: 5.238 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 9.9e-05/0.7243, allocations: 111.2 kB / 0.7271 GB, free: 5.121 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.7243, allocations: 5.312 kB / 0.7271 GB, free: 5.117 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.7244, allocations: 63.23 kB / 0.7272 GB, free: 5.059 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7245, allocations: 5.312 kB / 0.7272 GB, free: 5.055 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7245, allocations: 0 / 0.7272 GB, free: 5.055 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.7245, allocations: 1.375 kB / 0.7272 GB, free: 5.055 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.7246, allocations: 152.4 kB / 0.7274 GB, free: 4.859 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7246, allocations: 5.375 kB / 0.7274 GB, free: 4.855 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.7247, allocations: 5.5 kB / 0.7274 GB, free: 4.855 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.7247, allocations: 3.938 kB / 0.7274 GB, free: 4.852 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.7247, allocations: 1.375 kB / 0.7274 GB, free: 4.852 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7247, allocations: 0 / 0.7274 GB, free: 4.852 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7247, allocations: 1.375 kB / 0.7274 GB, free: 4.852 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.7248, allocations: 70.88 kB / 0.7274 GB, free: 4.777 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.7249, allocations: 82.42 kB / 0.7275 GB, free: 4.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.7249, allocations: 5.359 kB / 0.7275 GB, free: 4.676 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.7249, allocations: 4 kB / 0.7275 GB, free: 4.672 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.7249, allocations: 1.375 kB / 0.7275 GB, free: 4.672 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.725, allocations: 1.375 kB / 0.7275 GB, free: 4.672 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.725, allocations: 83.22 kB / 0.7276 GB, free: 4.59 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.01e-07/0.725, allocations: 1.375 kB / 0.7276 GB, free: 4.59 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002172/0.7252, allocations: 14.94 kB / 0.7276 GB, free: 4.586 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.0005791/0.7258, allocations: 0.6343 MB / 0.7282 GB, free: 3.957 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.726, allocations: 25.69 kB / 0.7283 GB, free: 3.945 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.726, allocations: 0 / 0.7283 GB, free: 3.945 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 2.342e-05/0.726, allocations: 12.23 kB / 0.7283 GB, free: 3.941 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.7261, allocations: 5.375 kB / 0.7283 GB, free: 3.938 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.7266, allocations: 127.1 kB / 0.7284 GB, free: 3.789 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.7269, allocations: 0.6807 MB / 0.7291 GB, free: 3.086 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.727, allocations: 6.734 kB / 0.7291 GB, free: 3.082 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.727, allocations: 8.812 kB / 0.7291 GB, free: 3.074 MB / 0.5138 GB Notification: Performance of SimCode: time 2.21e-07/0.727, allocations: 0 / 0.7291 GB, free: 3.074 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.7526, allocations: 1.393 MB / 0.7304 GB, free: 2.262 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.719, allocations: 14.06 kB / 0.7305 GB, free: 2.254 MB / 0.5138 GB (rm -f ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat --tempDir=temp_ClaRa_ClaRa_Basics_Functions_TestCases_TestMaxAbs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_ClaRa_Basics_Functions_TestCases_TestMaxAbs.fmu > ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) diffSimulationResults("ClaRa_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_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches