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.02367/0.02367, allocations: 1.422 MB / 17.2 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.2464/0.2464, allocations: 22.37 MB / 40.6 MB, free: 0.8086 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.001795/0.001795, allocations: 107.1 kB / 48.08 MB, free: 2.484 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.002563/0.002562, allocations: 193.1 kB / 55.65 MB, free: 6.543 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.675/2.675, allocations: 222.9 MB / 286 MB, free: 1.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.61/1.61, allocations: 127.8 MB / 470.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003517/0.003518, allocations: 125.7 kB / 0.5532 GB, free: 43.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3471, allocations: 82.36 MB / 0.6336 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.003639/0.3509, allocations: 1.085 MB / 0.6347 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.3539, allocations: 1.409 MB / 0.636 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.354, allocations: 0 / 0.636 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.354, allocations: 0 / 0.636 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005889/0.3546, allocations: 79.78 kB / 0.6361 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.3547, allocations: 4 kB / 0.6361 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 4.634e-05/0.3547, allocations: 4 kB / 0.6361 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.133e-05/0.3548, allocations: 4 kB / 0.6361 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.3548, allocations: 3.938 kB / 0.6361 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.3549, allocations: 3.984 kB / 0.6361 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3549, allocations: 4 kB / 0.6361 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005777/0.3555, allocations: 187.7 kB / 0.6363 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.188e-06/0.3555, allocations: 3.938 kB / 0.6363 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.3556, allocations: 3.938 kB / 0.6363 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3558, allocations: 55.92 kB / 0.6364 GB, free: 10.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3558, allocations: 4 kB / 0.6364 GB, free: 10.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.3558, allocations: 3.984 kB / 0.6364 GB, free: 10.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3558, allocations: 0 / 0.6364 GB, free: 10.61 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.0005997/0.3564, allocations: 331.6 kB / 0.6367 GB, free: 10.24 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.3565, allocations: 9.156 kB / 0.6367 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.3566, allocations: 8.844 kB / 0.6367 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.3568, allocations: 164.6 kB / 0.6369 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3568, allocations: 384 / 0.6369 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.3568, allocations: 4.375 kB / 0.6369 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.357, allocations: 46 kB / 0.6369 GB, free: 9.969 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.357, allocations: 0 / 0.6369 GB, free: 9.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.357, allocations: 7.938 kB / 0.6369 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3571, allocations: 0 / 0.6369 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.554e-05/0.3571, allocations: 11.94 kB / 0.6369 GB, free: 9.949 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.3574, allocations: 153.7 kB / 0.6371 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3575, allocations: 38.61 kB / 0.6371 GB, free: 9.703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.3576, allocations: 20.8 kB / 0.6371 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/0.3582, allocations: 344.5 kB / 0.6375 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.3583, allocations: 46.48 kB / 0.6375 GB, free: 9.215 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.3583, allocations: 0 / 0.6375 GB, free: 9.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002528/0.3585, allocations: 61.8 kB / 0.6376 GB, free: 9.148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.3586, allocations: 55.41 kB / 0.6376 GB, free: 9.082 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.3587, allocations: 89.86 kB / 0.6377 GB, free: 8.984 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3587, allocations: 25.7 kB / 0.6377 GB, free: 8.953 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.3587, allocations: 84.14 kB / 0.6378 GB, free: 8.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.3588, allocations: 7.812 kB / 0.6378 GB, free: 8.859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3588, allocations: 17.72 kB / 0.6378 GB, free: 8.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.359, allocations: 318.8 kB / 0.6381 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.3591, allocations: 8 kB / 0.6382 GB, free: 8.508 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.3591, allocations: 4 kB / 0.6382 GB, free: 8.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.46e-05/0.3592, allocations: 24.8 kB / 0.6382 GB, free: 8.477 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3592, allocations: 0 / 0.6382 GB, free: 8.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.3593, allocations: 49.69 kB / 0.6382 GB, free: 8.422 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3593, allocations: 14.59 kB / 0.6382 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3593, allocations: 0 / 0.6382 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3594, allocations: 0 / 0.6382 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.3595, allocations: 7.984 kB / 0.6383 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3595, allocations: 4 kB / 0.6383 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.3595, allocations: 0 / 0.6383 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.3595, allocations: 0 / 0.6383 GB, free: 8.398 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 0.0001065/0.3597, allocations: 111.6 kB / 0.6384 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.3597, allocations: 11.94 kB / 0.6384 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.3599, allocations: 57.12 kB / 0.6384 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3599, allocations: 4 kB / 0.6384 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3599, allocations: 0 / 0.6384 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3599, allocations: 3.984 kB / 0.6384 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.3601, allocations: 149.7 kB / 0.6386 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3601, allocations: 4 kB / 0.6386 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.3601, allocations: 7.984 kB / 0.6386 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.3601, allocations: 7.875 kB / 0.6386 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3602, allocations: 8 kB / 0.6386 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3602, allocations: 0 / 0.6386 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3602, allocations: 0 / 0.6386 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.3603, allocations: 77.06 kB / 0.6387 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.3604, allocations: 84.95 kB / 0.6388 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3604, allocations: 3.938 kB / 0.6388 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.3605, allocations: 0 / 0.6388 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.3605, allocations: 11.98 kB / 0.6388 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.3605, allocations: 8.172 kB / 0.6388 GB, free: 7.758 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.3606, allocations: 75.28 kB / 0.6389 GB, free: 7.684 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3606, allocations: 0 / 0.6389 GB, free: 7.684 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.3609, allocations: 16 kB / 0.6389 GB, free: 7.668 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.0002336/0.3611, allocations: 115.2 kB / 0.639 GB, free: 7.547 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.3613, allocations: 23.97 kB / 0.639 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3613, allocations: 0 / 0.639 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.3614, allocations: 15.94 kB / 0.639 GB, free: 7.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.3616, allocations: 7.094 kB / 0.639 GB, free: 7.504 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.362, allocations: 132.4 kB / 0.6392 GB, free: 7.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.3624, allocations: 0.6731 MB / 0.6398 GB, free: 6.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.3624, allocations: 11.42 kB / 0.6398 GB, free: 6.629 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3624, allocations: 0 / 0.6398 GB, free: 6.629 MB / 462.1 MB Notification: Performance of Templates: time 0.003884/0.3663, allocations: 0.6872 MB / 0.6405 GB, free: 5.941 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/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