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.01279/0.01279, allocations: 1.413 MB / 16.68 MB, free: 4.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1073/0.1073, allocations: 22.59 MB / 40.31 MB, free: 1.055 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.0007321/0.0007321, allocations: 85.39 kB / 48.06 MB, free: 2.41 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.0008529/0.0008529, allocations: 168.1 kB / 55.92 MB, free: 3.98 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 286.9 MB, free: 3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 10.38/10.38, allocations: 127.7 MB / 472.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007891/0.0007891, allocations: 17.22 kB / 0.5567 GB, free: 42.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1964, allocations: 83.87 MB / 0.6386 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.0009338/0.1974, allocations: 0.7469 MB / 0.6393 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1993, allocations: 1.392 MB / 0.6407 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.1994, allocations: 0 / 0.6407 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.1994, allocations: 0 / 0.6407 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.1998, allocations: 79.78 kB / 0.6408 GB, free: 8.844 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.585e-06/0.1998, allocations: 0 / 0.6408 GB, free: 8.844 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.1998, allocations: 11.94 kB / 0.6408 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.1999, allocations: 0 / 0.6408 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.967e-05/0.1999, allocations: 4 kB / 0.6408 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.1999, allocations: 11.91 kB / 0.6408 GB, free: 8.816 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.181e-06/0.2, allocations: 4 kB / 0.6408 GB, free: 8.812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.2003, allocations: 183.7 kB / 0.641 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.2003, allocations: 4 kB / 0.641 GB, free: 8.629 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.2004, allocations: 33.62 kB / 0.641 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.2005, allocations: 95.8 kB / 0.6411 GB, free: 8.496 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2005, allocations: 0 / 0.6411 GB, free: 8.496 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2006, allocations: 0 / 0.6411 GB, free: 8.496 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2006, allocations: 0 / 0.6411 GB, free: 8.496 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.0002966/0.2009, allocations: 331.8 kB / 0.6414 GB, free: 8.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2009, allocations: 13.16 kB / 0.6414 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.201, allocations: 8.844 kB / 0.6414 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2011, allocations: 160.4 kB / 0.6416 GB, free: 7.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2011, allocations: 8.375 kB / 0.6416 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.2011, allocations: 384 / 0.6416 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2012, allocations: 41.98 kB / 0.6416 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2012, allocations: 4 kB / 0.6416 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2013, allocations: 4 kB / 0.6416 GB, free: 7.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2013, allocations: 3.938 kB / 0.6416 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.2013, allocations: 11.94 kB / 0.6417 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.2015, allocations: 157.7 kB / 0.6418 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.2016, allocations: 42.61 kB / 0.6418 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.2016, allocations: 16.86 kB / 0.6419 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.202, allocations: 336.5 kB / 0.6422 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2021, allocations: 46.48 kB / 0.6422 GB, free: 7.102 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.2021, allocations: 0 / 0.6422 GB, free: 7.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001648/0.2023, allocations: 57.62 kB / 0.6423 GB, free: 7.039 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.2023, allocations: 55.41 kB / 0.6423 GB, free: 6.973 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.78e-05/0.2024, allocations: 89.86 kB / 0.6424 GB, free: 6.875 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2024, allocations: 25.7 kB / 0.6424 GB, free: 6.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.2024, allocations: 80.14 kB / 0.6425 GB, free: 6.762 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.2025, allocations: 7.812 kB / 0.6425 GB, free: 6.754 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.2025, allocations: 21.66 kB / 0.6425 GB, free: 6.727 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2026, allocations: 318.8 kB / 0.6428 GB, free: 6.406 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.2026, allocations: 4 kB / 0.6429 GB, free: 6.402 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.2026, allocations: 8 kB / 0.6429 GB, free: 6.395 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.2027, allocations: 16.86 kB / 0.6429 GB, free: 6.375 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2027, allocations: 0 / 0.6429 GB, free: 6.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.846e-05/0.2028, allocations: 57.62 kB / 0.6429 GB, free: 6.312 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2028, allocations: 10.28 kB / 0.6429 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2028, allocations: 3.984 kB / 0.6429 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.2028, allocations: 0 / 0.6429 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.2029, allocations: 11.98 kB / 0.643 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2029, allocations: 4 kB / 0.643 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.2029, allocations: 0 / 0.643 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.2029, allocations: 0 / 0.643 GB, free: 6.285 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.978e-05/0.203, allocations: 115.6 kB / 0.6431 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.203, allocations: 3.938 kB / 0.6431 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.2032, allocations: 65.44 kB / 0.6431 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2032, allocations: 0 / 0.6431 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2032, allocations: 4 kB / 0.6431 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2032, allocations: 3.984 kB / 0.6431 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.214e-05/0.2033, allocations: 157.6 kB / 0.6433 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2033, allocations: 0 / 0.6433 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.2033, allocations: 11.92 kB / 0.6433 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.2033, allocations: 7.938 kB / 0.6433 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2033, allocations: 0 / 0.6433 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2034, allocations: 0 / 0.6433 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2034, allocations: 0 / 0.6433 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.058e-05/0.2035, allocations: 81.06 kB / 0.6434 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.2035, allocations: 81.02 kB / 0.6435 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.2035, allocations: 3.938 kB / 0.6435 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-06/0.2035, allocations: 0 / 0.6435 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.2035, allocations: 11.98 kB / 0.6435 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.2036, allocations: 0 / 0.6435 GB, free: 5.648 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.034e-05/0.2036, allocations: 75.28 kB / 0.6436 GB, free: 5.574 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2036, allocations: 0 / 0.6436 GB, free: 5.574 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002041/0.2038, allocations: 16 kB / 0.6436 GB, free: 5.559 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.0001575/0.204, allocations: 115.2 kB / 0.6437 GB, free: 5.438 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.311e-05/0.2041, allocations: 19.98 kB / 0.6437 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2041, allocations: 0 / 0.6437 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/0.2041, allocations: 15.94 kB / 0.6437 GB, free: 5.402 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.2042, allocations: 0 / 0.6437 GB, free: 5.402 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.2045, allocations: 106.7 kB / 0.6438 GB, free: 5.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2047, allocations: 0.6731 MB / 0.6445 GB, free: 4.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.605e-05/0.2047, allocations: 11.92 kB / 0.6445 GB, free: 4.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.2048, allocations: 11.44 kB / 0.6445 GB, free: 4.547 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2048, allocations: 0 / 0.6445 GB, free: 4.547 MB / 462.1 MB Notification: Performance of Templates: time 0.01584/0.2206, allocations: 0.575 MB / 0.6451 GB, free: 3.973 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