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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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 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) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_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="Time|Time_bak|_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/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 98.09 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08303/0.08303, allocations: 20.12 MB / 360.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9527/0.9527, allocations: 126.4 MB / 0.5296 GB, free: 14.99 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 71.89 kB / 0.6208 GB, free: 1.543 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4038, allocations: 81.16 MB / 0.7 GB, free: 33.57 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002102/0.4059, allocations: 1.087 MB / 0.7011 GB, free: 32.86 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.4076, allocations: 1.422 MB / 0.7025 GB, free: 31.83 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.4077, allocations: 0 / 0.7025 GB, free: 31.83 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.4077, allocations: 0.5625 kB / 0.7025 GB, free: 31.83 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.4081, allocations: 78.05 kB / 0.7026 GB, free: 31.79 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 2.825e-06/0.4081, allocations: 3.156 kB / 0.7026 GB, free: 31.79 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 4.132e-05/0.4082, allocations: 3.766 kB / 0.7026 GB, free: 31.79 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.4082, allocations: 1.281 kB / 0.7026 GB, free: 31.79 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.4082, allocations: 7.344 kB / 0.7026 GB, free: 31.79 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.4083, allocations: 1.25 kB / 0.7026 GB, free: 31.79 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.4083, allocations: 1.094 kB / 0.7026 GB, free: 31.79 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.4087, allocations: 195.1 kB / 0.7028 GB, free: 31.73 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.4087, allocations: 2.047 kB / 0.7028 GB, free: 31.73 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.4087, allocations: 4.469 kB / 0.7028 GB, free: 31.73 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.4089, allocations: 91.92 kB / 0.7029 GB, free: 31.7 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4089, allocations: 0.7969 kB / 0.7029 GB, free: 31.7 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4089, allocations: 0.7812 kB / 0.7029 GB, free: 31.7 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.4089, allocations: 0 / 0.7029 GB, free: 31.7 MB / 474.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.0002558/0.4092, allocations: 338.4 kB / 0.7032 GB, free: 31.34 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4092, allocations: 9.469 kB / 0.7032 GB, free: 31.34 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.4093, allocations: 1.641 kB / 0.7032 GB, free: 31.34 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.656e-05/0.4093, allocations: 166.3 kB / 0.7033 GB, free: 31.14 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4093, allocations: 2.016 kB / 0.7033 GB, free: 31.14 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.4094, allocations: 1.656 kB / 0.7033 GB, free: 31.14 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.4095, allocations: 51.42 kB / 0.7034 GB, free: 31.09 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4095, allocations: 0.8438 kB / 0.7034 GB, free: 31.09 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.4095, allocations: 1.844 kB / 0.7034 GB, free: 31.09 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4095, allocations: 0 / 0.7034 GB, free: 31.09 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.4096, allocations: 15.12 kB / 0.7034 GB, free: 31.09 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.4097, allocations: 161.4 kB / 0.7036 GB, free: 30.89 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.64e-05/0.4098, allocations: 33.52 kB / 0.7036 GB, free: 30.86 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.4098, allocations: 17.97 kB / 0.7036 GB, free: 30.85 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.4101, allocations: 347.6 kB / 0.7039 GB, free: 30.47 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.4102, allocations: 35.06 kB / 0.704 GB, free: 30.43 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4102, allocations: 4.875 kB / 0.704 GB, free: 30.43 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001545/0.4103, allocations: 54.84 kB / 0.704 GB, free: 30.39 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.4104, allocations: 54.03 kB / 0.7041 GB, free: 30.32 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.931e-05/0.4104, allocations: 93.27 kB / 0.7042 GB, free: 30.23 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.4104, allocations: 25.7 kB / 0.7042 GB, free: 30.2 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.305e-05/0.4104, allocations: 81.55 kB / 0.7043 GB, free: 30.11 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.4105, allocations: 14.53 kB / 0.7043 GB, free: 30.1 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.4105, allocations: 14.39 kB / 0.7043 GB, free: 30.09 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.4106, allocations: 316 kB / 0.7046 GB, free: 29.77 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.4106, allocations: 4.594 kB / 0.7046 GB, free: 29.77 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.4106, allocations: 14.23 kB / 0.7046 GB, free: 29.76 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.4107, allocations: 20.08 kB / 0.7046 GB, free: 29.75 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4107, allocations: 0 / 0.7046 GB, free: 29.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.127e-05/0.4107, allocations: 52.28 kB / 0.7047 GB, free: 29.71 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4107, allocations: 9.344 kB / 0.7047 GB, free: 29.71 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4108, allocations: 0 / 0.7047 GB, free: 29.71 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4108, allocations: 3.422 kB / 0.7047 GB, free: 29.71 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.4108, allocations: 5.125 kB / 0.7047 GB, free: 29.71 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4108, allocations: 2.422 kB / 0.7047 GB, free: 29.71 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.187e-05/0.4109, allocations: 0.5625 kB / 0.7047 GB, free: 29.71 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.4109, allocations: 2.312 kB / 0.7047 GB, free: 29.71 MB / 474.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 4.763e-05/0.4109, allocations: 116.5 kB / 0.7048 GB, free: 29.59 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.4109, allocations: 6.094 kB / 0.7048 GB, free: 29.59 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.4111, allocations: 66.84 kB / 0.7049 GB, free: 29.53 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4111, allocations: 4.031 kB / 0.7049 GB, free: 29.53 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4111, allocations: 0 / 0.7049 GB, free: 29.53 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4111, allocations: 3.562 kB / 0.7049 GB, free: 29.53 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.303e-05/0.4112, allocations: 147.8 kB / 0.705 GB, free: 29.34 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4112, allocations: 2.391 kB / 0.705 GB, free: 29.34 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.4112, allocations: 5.281 kB / 0.7051 GB, free: 29.34 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4112, allocations: 5.156 kB / 0.7051 GB, free: 29.34 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4112, allocations: 9.594 kB / 0.7051 GB, free: 29.33 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4112, allocations: 1.438 kB / 0.7051 GB, free: 29.33 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4112, allocations: 3.938 kB / 0.7051 GB, free: 29.32 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.4114, allocations: 0.6264 MB / 0.7057 GB, free: 28.67 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.4115, allocations: 84.62 kB / 0.7058 GB, free: 28.57 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.4115, allocations: 0 / 0.7058 GB, free: 28.57 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.232e-05/0.4115, allocations: 5.312 kB / 0.7058 GB, free: 28.57 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.4115, allocations: 3.375 kB / 0.7058 GB, free: 28.57 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.4115, allocations: 3.781 kB / 0.7058 GB, free: 28.57 MB / 474.8 MB Notification: Performance of sorting global known variables: time 1.226e-05/0.4116, allocations: 79.28 kB / 0.7059 GB, free: 28.49 MB / 474.8 MB Notification: Performance of sort global known variables: time 9e-08/0.4116, allocations: 1.031 kB / 0.7059 GB, free: 28.49 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003294/0.4119, allocations: 12.23 kB / 0.7059 GB, free: 28.49 MB / 474.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.0001451/0.412, allocations: 112.7 kB / 0.706 GB, free: 28.4 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.4121, allocations: 29.2 kB / 0.706 GB, free: 28.39 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4121, allocations: 1.875 kB / 0.706 GB, free: 28.39 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.4122, allocations: 12.67 kB / 0.706 GB, free: 28.38 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.4123, allocations: 6.781 kB / 0.706 GB, free: 28.38 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.4126, allocations: 208.9 kB / 0.7062 GB, free: 28.16 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.4127, allocations: 0.6788 MB / 0.7069 GB, free: 27.46 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.47e-05/0.4127, allocations: 2.281 kB / 0.7069 GB, free: 27.46 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.4127, allocations: 10.55 kB / 0.7069 GB, free: 27.45 MB / 474.8 MB Notification: Performance of SimCode: time 2.01e-07/0.4127, allocations: 1.094 kB / 0.7069 GB, free: 27.45 MB / 474.8 MB Notification: Performance of Templates: time 0.002573/0.4153, allocations: 0.5917 MB / 0.7075 GB, free: 27.39 MB / 474.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 -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","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches