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.01485/0.01485, allocations: 1.414 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.1321/0.1321, allocations: 22.6 MB / 40.32 MB, free: 1.078 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.0007449/0.0007452, allocations: 89.67 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.001031/0.001031, allocations: 174.3 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.644/1.644, allocations: 223.3 MB / 286.9 MB, free: 2.609 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.048/1.048, allocations: 127.7 MB / 472.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000577/0.0005771, allocations: 14.88 kB / 0.5567 GB, free: 42.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.232, allocations: 83.87 MB / 0.6386 GB, free: 10.97 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001255/0.2333, allocations: 0.7508 MB / 0.6393 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.2353, allocations: 1.388 MB / 0.6407 GB, free: 8.809 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.2354, allocations: 0 / 0.6407 GB, free: 8.809 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.2354, allocations: 0 / 0.6407 GB, free: 8.809 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.2358, allocations: 83.47 kB / 0.6408 GB, free: 8.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.2359, allocations: 3.938 kB / 0.6408 GB, free: 8.727 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.2359, allocations: 7.984 kB / 0.6408 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.236, allocations: 0 / 0.6408 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.236, allocations: 8 kB / 0.6408 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.2361, allocations: 7.922 kB / 0.6408 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.584e-06/0.2361, allocations: 0 / 0.6408 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.2365, allocations: 183.6 kB / 0.641 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.2365, allocations: 4 kB / 0.641 GB, free: 8.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.2365, allocations: 45.55 kB / 0.641 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.2367, allocations: 87.88 kB / 0.6411 GB, free: 8.383 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2367, allocations: 0 / 0.6411 GB, free: 8.383 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2367, allocations: 0 / 0.6411 GB, free: 8.383 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.2367, allocations: 0 / 0.6411 GB, free: 8.383 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.0003357/0.2371, allocations: 335.8 kB / 0.6414 GB, free: 8.008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2371, allocations: 9.156 kB / 0.6414 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.2372, allocations: 4.844 kB / 0.6414 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2373, allocations: 160.4 kB / 0.6416 GB, free: 7.801 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2373, allocations: 384 / 0.6416 GB, free: 7.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.2373, allocations: 4.375 kB / 0.6416 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.2375, allocations: 49.94 kB / 0.6416 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2375, allocations: 0 / 0.6416 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2375, allocations: 0 / 0.6416 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2375, allocations: 7.938 kB / 0.6417 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.261e-05/0.2376, allocations: 8 kB / 0.6417 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.2377, allocations: 153.7 kB / 0.6418 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.2379, allocations: 46.61 kB / 0.6419 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.2379, allocations: 24.84 kB / 0.6419 GB, free: 7.445 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/0.2383, allocations: 336.5 kB / 0.6422 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.2384, allocations: 42.42 kB / 0.6422 GB, free: 6.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2384, allocations: 0 / 0.6422 GB, free: 6.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001573/0.2385, allocations: 53.69 kB / 0.6423 GB, free: 6.934 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2386, allocations: 51.41 kB / 0.6423 GB, free: 6.871 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.33e-05/0.2386, allocations: 89.86 kB / 0.6424 GB, free: 6.773 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2387, allocations: 37.7 kB / 0.6425 GB, free: 6.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.2387, allocations: 80.14 kB / 0.6425 GB, free: 6.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.2388, allocations: 11.8 kB / 0.6425 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.2388, allocations: 9.719 kB / 0.6426 GB, free: 6.621 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2389, allocations: 322.8 kB / 0.6429 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.2389, allocations: 4 kB / 0.6429 GB, free: 6.293 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.2389, allocations: 8 kB / 0.6429 GB, free: 6.285 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.239, allocations: 20.8 kB / 0.6429 GB, free: 6.262 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.239, allocations: 4 kB / 0.6429 GB, free: 6.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.682e-05/0.2391, allocations: 49.69 kB / 0.6429 GB, free: 6.203 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.2391, allocations: 11.94 kB / 0.643 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2391, allocations: 0 / 0.643 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2391, allocations: 0 / 0.643 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.2392, allocations: 7.984 kB / 0.643 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2392, allocations: 4 kB / 0.643 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.2392, allocations: 3.938 kB / 0.643 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.2392, allocations: 0 / 0.643 GB, free: 6.176 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 7.537e-05/0.2393, allocations: 109.8 kB / 0.6431 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.2393, allocations: 7.938 kB / 0.6431 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.2395, allocations: 61.12 kB / 0.6431 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2395, allocations: 4 kB / 0.6431 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2395, allocations: 0 / 0.6431 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2395, allocations: 3.984 kB / 0.6432 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.2396, allocations: 153.6 kB / 0.6433 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2396, allocations: 0 / 0.6433 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.2397, allocations: 11.92 kB / 0.6433 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2397, allocations: 3.938 kB / 0.6433 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2397, allocations: 12 kB / 0.6433 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2397, allocations: 0 / 0.6433 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2397, allocations: 0 / 0.6433 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.588e-05/0.2398, allocations: 81.42 kB / 0.6434 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.2399, allocations: 81.02 kB / 0.6435 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2399, allocations: 3.938 kB / 0.6435 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-06/0.2399, allocations: 0 / 0.6435 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.2399, allocations: 11.98 kB / 0.6435 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.2399, allocations: 0 / 0.6435 GB, free: 5.539 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.047e-05/0.24, allocations: 75.28 kB / 0.6436 GB, free: 5.465 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.24, allocations: 0 / 0.6436 GB, free: 5.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.2402, allocations: 16 kB / 0.6436 GB, free: 5.449 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.0001715/0.2404, allocations: 111.2 kB / 0.6437 GB, free: 5.332 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.602e-05/0.2404, allocations: 23.92 kB / 0.6437 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2405, allocations: 0 / 0.6437 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.2405, allocations: 16 kB / 0.6437 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.2406, allocations: 0 / 0.6437 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.2408, allocations: 98.75 kB / 0.6438 GB, free: 5.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2411, allocations: 0.6731 MB / 0.6445 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.683e-05/0.2412, allocations: 7.922 kB / 0.6445 GB, free: 4.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.2412, allocations: 11.44 kB / 0.6445 GB, free: 4.449 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2412, allocations: 0 / 0.6445 GB, free: 4.449 MB / 462.1 MB Notification: Performance of Templates: time 0.002994/0.2442, allocations: 0.5905 MB / 0.6451 GB, free: 3.859 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=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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches