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.0159/0.0159, allocations: 1.43 MB / 16.93 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1135/0.1135, allocations: 22.37 MB / 40.35 MB, free: 0.6992 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.001354/0.001354, allocations: 115.6 kB / 47.83 MB, free: 2.387 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.001648/0.001648, allocations: 192.1 kB / 55.43 MB, free: 6.43 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.4/1.4, allocations: 222.9 MB / 285.8 MB, free: 1.285 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9177/0.9177, allocations: 127.8 MB / 470.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002274, allocations: 129.3 kB / 0.5533 GB, free: 42.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1861, allocations: 82.34 MB / 0.6337 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.003177/0.1893, allocations: 1.035 MB / 0.6347 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1918, allocations: 1.384 MB / 0.6361 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.1919, allocations: 0 / 0.6361 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.192, allocations: 0 / 0.6361 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006541/0.1926, allocations: 107.6 kB / 0.6362 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/0.1926, allocations: 0 / 0.6362 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.732e-05/0.1927, allocations: 4 kB / 0.6362 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.1928, allocations: 3.984 kB / 0.6362 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.1928, allocations: 3.938 kB / 0.6362 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.1929, allocations: 11.94 kB / 0.6362 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.914e-06/0.1929, allocations: 0 / 0.6362 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004966/0.1934, allocations: 187.7 kB / 0.6364 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.864e-06/0.1934, allocations: 0 / 0.6364 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.1934, allocations: 7.938 kB / 0.6364 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1937, allocations: 95.86 kB / 0.6365 GB, free: 9.918 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1937, allocations: 0 / 0.6365 GB, free: 9.918 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1937, allocations: 0 / 0.6365 GB, free: 9.918 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.1937, allocations: 0 / 0.6365 GB, free: 9.918 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.0004194/0.1941, allocations: 331.9 kB / 0.6368 GB, free: 9.547 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1942, allocations: 8.031 kB / 0.6368 GB, free: 9.539 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1942, allocations: 8.844 kB / 0.6368 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1944, allocations: 172.2 kB / 0.637 GB, free: 9.324 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.1944, allocations: 4.359 kB / 0.637 GB, free: 9.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1944, allocations: 4.375 kB / 0.637 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1946, allocations: 45.95 kB / 0.637 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1946, allocations: 0 / 0.637 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1946, allocations: 4 kB / 0.637 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1946, allocations: 0 / 0.637 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.1947, allocations: 11.98 kB / 0.637 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.1949, allocations: 153.7 kB / 0.6372 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.195, allocations: 38.52 kB / 0.6372 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.1951, allocations: 24.94 kB / 0.6372 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004809/0.1956, allocations: 336.4 kB / 0.6376 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1956, allocations: 38.5 kB / 0.6376 GB, free: 8.527 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1956, allocations: 0 / 0.6376 GB, free: 8.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.1958, allocations: 53.69 kB / 0.6377 GB, free: 8.469 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1959, allocations: 59.34 kB / 0.6377 GB, free: 8.398 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.253e-05/0.1959, allocations: 89.86 kB / 0.6378 GB, free: 8.301 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.196, allocations: 29.7 kB / 0.6378 GB, free: 8.266 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.196, allocations: 80.14 kB / 0.6379 GB, free: 8.184 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1961, allocations: 15.8 kB / 0.6379 GB, free: 8.168 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1961, allocations: 13.72 kB / 0.6379 GB, free: 8.148 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1962, allocations: 314.8 kB / 0.6382 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.1963, allocations: 8 kB / 0.6382 GB, free: 7.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.1963, allocations: 7.984 kB / 0.6382 GB, free: 7.816 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/0.1963, allocations: 20.86 kB / 0.6383 GB, free: 7.793 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1964, allocations: 4 kB / 0.6383 GB, free: 7.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.938e-05/0.1965, allocations: 49.97 kB / 0.6383 GB, free: 7.734 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1965, allocations: 8.875 kB / 0.6383 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1965, allocations: 3.938 kB / 0.6383 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1965, allocations: 0 / 0.6383 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.1966, allocations: 8.047 kB / 0.6383 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1966, allocations: 0 / 0.6383 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.1966, allocations: 7.984 kB / 0.6383 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.1966, allocations: 0 / 0.6383 GB, free: 7.707 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 9.925e-05/0.1968, allocations: 123.6 kB / 0.6385 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.1968, allocations: 3.938 kB / 0.6385 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.1969, allocations: 57.12 kB / 0.6385 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1969, allocations: 4 kB / 0.6385 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.197, allocations: 0 / 0.6385 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.197, allocations: 0 / 0.6385 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1971, allocations: 161.5 kB / 0.6387 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1971, allocations: 0 / 0.6387 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.1972, allocations: 4 kB / 0.6387 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1972, allocations: 7.938 kB / 0.6387 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1972, allocations: 4 kB / 0.6387 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1972, allocations: 3.938 kB / 0.6387 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1972, allocations: 0 / 0.6387 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1973, allocations: 73.12 kB / 0.6388 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.1974, allocations: 85 kB / 0.6388 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1974, allocations: 3.938 kB / 0.6389 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.1974, allocations: 0 / 0.6389 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1975, allocations: 12 kB / 0.6389 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1975, allocations: 0 / 0.6389 GB, free: 7.074 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.1975, allocations: 75.28 kB / 0.6389 GB, free: 7 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.083e-06/0.1975, allocations: 0 / 0.6389 GB, free: 7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1978, allocations: 19.94 kB / 0.639 GB, free: 6.98 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.0002056/0.198, allocations: 111.2 kB / 0.6391 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1981, allocations: 27.98 kB / 0.6391 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.1981, allocations: 0 / 0.6391 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/0.1981, allocations: 15.98 kB / 0.6391 GB, free: 6.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.1983, allocations: 11.94 kB / 0.6391 GB, free: 6.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.1986, allocations: 85.06 kB / 0.6392 GB, free: 6.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1989, allocations: 0.6729 MB / 0.6399 GB, free: 6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.1989, allocations: 4.281 kB / 0.6399 GB, free: 5.996 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.1989, allocations: 7.438 kB / 0.6399 GB, free: 5.988 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.199, allocations: 4 kB / 0.6399 GB, free: 5.984 MB / 462.1 MB Notification: Performance of Templates: time 0.003373/0.2023, allocations: 0.5982 MB / 0.6405 GB, free: 5.387 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