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.009611/0.009611, allocations: 1.442 MB / 17.75 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1293/0.1293, allocations: 22.38 MB / 41.17 MB, free: 7.758 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001333, allocations: 104 kB / 48.65 MB, free: 248 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 187.1 kB / 56.25 MB, free: 9.457 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.614/1.614, allocations: 222.9 MB / 286.6 MB, free: 13.96 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.013/1.013, allocations: 127.8 MB / 471.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 131.8 kB / 0.6359 GB, free: 13.24 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8745, allocations: 82.34 MB / 0.7163 GB, free: 9.691 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002773/0.8774, allocations: 1.027 MB / 0.7173 GB, free: 8.93 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.8805, allocations: 1.388 MB / 0.7187 GB, free: 7.816 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.8806, allocations: 0 / 0.7187 GB, free: 7.816 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.8806, allocations: 3.938 kB / 0.7187 GB, free: 7.812 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0006323/0.8813, allocations: 98.02 kB / 0.7188 GB, free: 7.75 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-06/0.8813, allocations: 0 / 0.7188 GB, free: 7.75 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 6.01e-05/0.8814, allocations: 11.53 kB / 0.7188 GB, free: 7.742 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.8815, allocations: 5.797 kB / 0.7188 GB, free: 7.738 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.8815, allocations: 7.922 kB / 0.7188 GB, free: 7.73 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.8816, allocations: 5.781 kB / 0.7188 GB, free: 7.727 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.8816, allocations: 1.781 kB / 0.7188 GB, free: 7.727 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005159/0.8821, allocations: 188.4 kB / 0.719 GB, free: 7.617 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.8821, allocations: 1.219 kB / 0.719 GB, free: 7.617 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.8822, allocations: 7.875 kB / 0.719 GB, free: 7.609 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.8824, allocations: 101.5 kB / 0.7191 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.8825, allocations: 1.094 kB / 0.7191 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of FrontEnd: time 3.627e-06/0.8825, allocations: 0 / 0.7191 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.8825, allocations: 0 / 0.7191 GB, free: 7.551 MB / 0.5138 GB 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.000705/0.8832, allocations: 334.7 kB / 0.7194 GB, free: 7.184 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.8833, allocations: 9.031 kB / 0.7194 GB, free: 7.184 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.8833, allocations: 6.172 kB / 0.7195 GB, free: 7.18 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.8835, allocations: 164.3 kB / 0.7196 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.8835, allocations: 1.656 kB / 0.7196 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.8835, allocations: 5.594 kB / 0.7196 GB, free: 6.977 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.8837, allocations: 44.62 kB / 0.7197 GB, free: 6.934 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8837, allocations: 3.938 kB / 0.7197 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.8838, allocations: 0 / 0.7197 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.8838, allocations: 1.344 kB / 0.7197 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.8839, allocations: 15.47 kB / 0.7197 GB, free: 6.922 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.8842, allocations: 152.7 kB / 0.7198 GB, free: 6.727 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.8843, allocations: 40.03 kB / 0.7199 GB, free: 6.691 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.8844, allocations: 16.86 kB / 0.7199 GB, free: 6.68 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/0.8849, allocations: 343.2 kB / 0.7202 GB, free: 6.289 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.885, allocations: 39.75 kB / 0.7202 GB, free: 6.242 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=4): time 4.598e-06/0.885, allocations: 0 / 0.7202 GB, free: 6.242 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.8852, allocations: 59.62 kB / 0.7203 GB, free: 6.195 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.8853, allocations: 51.41 kB / 0.7203 GB, free: 6.133 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.8853, allocations: 89.86 kB / 0.7204 GB, free: 6.035 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.8854, allocations: 27.02 kB / 0.7205 GB, free: 6.004 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.8854, allocations: 80.14 kB / 0.7205 GB, free: 5.922 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.8855, allocations: 13.19 kB / 0.7205 GB, free: 5.91 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.8855, allocations: 21.5 kB / 0.7206 GB, free: 5.887 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002815/0.8858, allocations: 320.1 kB / 0.7209 GB, free: 5.566 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.8858, allocations: 3.875 kB / 0.7209 GB, free: 5.566 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.8859, allocations: 7.812 kB / 0.7209 GB, free: 5.562 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.8861, allocations: 26.06 kB / 0.7209 GB, free: 5.543 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8861, allocations: 0 / 0.7209 GB, free: 5.543 MB / 0.5138 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001123/0.8862, allocations: 48.39 kB / 0.721 GB, free: 5.504 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.8862, allocations: 6.625 kB / 0.721 GB, free: 5.504 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.8863, allocations: 5.438 kB / 0.721 GB, free: 5.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.8863, allocations: 7.984 kB / 0.721 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.8864, allocations: 6.094 kB / 0.721 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8864, allocations: 0 / 0.721 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.8864, allocations: 0 / 0.721 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.8864, allocations: 1.5 kB / 0.721 GB, free: 5.492 MB / 0.5138 GB 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.729e-05/0.8865, allocations: 107.4 kB / 0.7211 GB, free: 5.379 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.8866, allocations: 1.531 kB / 0.7211 GB, free: 5.379 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.8867, allocations: 70.86 kB / 0.7212 GB, free: 5.312 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.8868, allocations: 5.594 kB / 0.7212 GB, free: 5.309 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8868, allocations: 3.938 kB / 0.7212 GB, free: 5.305 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.8868, allocations: 86.59 kB / 0.7212 GB, free: 5.203 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.8869, allocations: 0 / 0.7212 GB, free: 5.203 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.8869, allocations: 0 / 0.7212 GB, free: 5.203 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.8869, allocations: 2.781 kB / 0.7212 GB, free: 5.203 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001729/0.8871, allocations: 138.2 kB / 0.7214 GB, free: 5.074 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002127/0.8873, allocations: 232.5 kB / 0.7216 GB, free: 4.844 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.048e-05/0.8874, allocations: 5.5 kB / 0.7216 GB, free: 4.844 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.526e-05/0.8874, allocations: 75.28 kB / 0.7217 GB, free: 4.77 MB / 0.5138 GB Notification: Performance of Backend: time 1.71e-07/0.8874, allocations: 0 / 0.7217 GB, free: 4.77 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0006122/0.888, allocations: 112.6 kB / 0.7218 GB, free: 4.684 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0005054/0.8886, allocations: 0.5371 MB / 0.7223 GB, free: 4.105 MB / 0.5138 GB Notification: Performance of Templates: time 0.004121/0.8927, allocations: 0.8484 MB / 0.7231 GB, free: 3.656 MB / 0.5138 GB 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