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.01508/0.01508, allocations: 1.426 MB / 17.59 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1369/0.1369, allocations: 22.37 MB / 41.01 MB, free: 7.863 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.001265/0.001265, allocations: 108 kB / 48.51 MB, free: 348 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.001396/0.001396, allocations: 196.8 kB / 56.1 MB, free: 3.605 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.548/1.548, allocations: 222.9 MB / 286.4 MB, free: 1.246 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9667/0.9667, allocations: 127.4 MB / 470.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003558/0.003558, allocations: 130.3 kB / 0.5536 GB, free: 43.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2183, allocations: 82.29 MB / 0.6339 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002493/0.2209, allocations: 1.018 MB / 0.6349 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.2231, allocations: 1.393 MB / 0.6363 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.2231, allocations: 4 kB / 0.6363 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2231, allocations: 0 / 0.6363 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.2236, allocations: 103.6 kB / 0.6364 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.2237, allocations: 0 / 0.6364 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.2237, allocations: 8 kB / 0.6364 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.2238, allocations: 0 / 0.6364 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.2238, allocations: 7.938 kB / 0.6364 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.2238, allocations: 0 / 0.6364 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-06/0.2239, allocations: 0 / 0.6364 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.2243, allocations: 195.6 kB / 0.6366 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.2243, allocations: 7.984 kB / 0.6366 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.2243, allocations: 3.938 kB / 0.6366 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.2245, allocations: 87.88 kB / 0.6367 GB, free: 10.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2245, allocations: 0 / 0.6367 GB, free: 10.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.2245, allocations: 0 / 0.6367 GB, free: 10.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2245, allocations: 0 / 0.6367 GB, free: 10.77 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.0003939/0.2249, allocations: 334 kB / 0.637 GB, free: 10.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.225, allocations: 16.02 kB / 0.637 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.225, allocations: 4.844 kB / 0.637 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2252, allocations: 168.6 kB / 0.6372 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2252, allocations: 384 / 0.6372 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2252, allocations: 8.312 kB / 0.6372 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2253, allocations: 42 kB / 0.6372 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2253, allocations: 3.938 kB / 0.6372 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2254, allocations: 3.938 kB / 0.6372 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2254, allocations: 3.984 kB / 0.6372 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.933e-05/0.2254, allocations: 12 kB / 0.6372 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.2256, allocations: 153.7 kB / 0.6374 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.2258, allocations: 42.61 kB / 0.6374 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.2258, allocations: 16.8 kB / 0.6374 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/0.2264, allocations: 344.5 kB / 0.6378 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.2264, allocations: 38.5 kB / 0.6378 GB, free: 9.367 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.2264, allocations: 0 / 0.6378 GB, free: 9.367 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.000178/0.2266, allocations: 57.69 kB / 0.6379 GB, free: 9.305 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.2267, allocations: 55.39 kB / 0.6379 GB, free: 9.238 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.326e-05/0.2267, allocations: 89.86 kB / 0.638 GB, free: 9.141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2267, allocations: 25.7 kB / 0.638 GB, free: 9.109 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.2268, allocations: 80.14 kB / 0.6381 GB, free: 9.027 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.2268, allocations: 15.81 kB / 0.6381 GB, free: 9.012 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.2269, allocations: 13.72 kB / 0.6381 GB, free: 8.992 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.227, allocations: 314.8 kB / 0.6384 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.227, allocations: 15.92 kB / 0.6384 GB, free: 8.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.227, allocations: 4 kB / 0.6384 GB, free: 8.656 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.2271, allocations: 20.86 kB / 0.6385 GB, free: 8.633 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2271, allocations: 0 / 0.6385 GB, free: 8.633 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.903e-05/0.2272, allocations: 49.69 kB / 0.6385 GB, free: 8.578 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2272, allocations: 9.969 kB / 0.6385 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2272, allocations: 0 / 0.6385 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.2272, allocations: 0 / 0.6385 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.2273, allocations: 15.98 kB / 0.6385 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2273, allocations: 0 / 0.6385 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.2273, allocations: 7.938 kB / 0.6385 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.2274, allocations: 0 / 0.6385 GB, free: 8.547 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.06e-05/0.2275, allocations: 111.6 kB / 0.6387 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.2275, allocations: 7.938 kB / 0.6387 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.2276, allocations: 57.19 kB / 0.6387 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2276, allocations: 0 / 0.6387 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2276, allocations: 384 / 0.6387 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2276, allocations: 0 / 0.6387 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2278, allocations: 157.7 kB / 0.6389 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2278, allocations: 3.938 kB / 0.6389 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.2278, allocations: 11.98 kB / 0.6389 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2278, allocations: 7.922 kB / 0.6389 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2278, allocations: 0 / 0.6389 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2278, allocations: 3.938 kB / 0.6389 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2279, allocations: 3.938 kB / 0.6389 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.228, allocations: 77.12 kB / 0.639 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.228, allocations: 88.95 kB / 0.6391 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.228, allocations: 3.938 kB / 0.6391 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.2281, allocations: 0 / 0.6391 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.2281, allocations: 4 kB / 0.6391 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2281, allocations: 3.984 kB / 0.6391 GB, free: 7.914 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.2281, allocations: 75.28 kB / 0.6391 GB, free: 7.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2281, allocations: 0 / 0.6391 GB, free: 7.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.2283, allocations: 16 kB / 0.6392 GB, free: 7.824 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.0001832/0.2285, allocations: 115.2 kB / 0.6393 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.618e-05/0.2286, allocations: 23.92 kB / 0.6393 GB, free: 7.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2286, allocations: 0 / 0.6393 GB, free: 7.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.2287, allocations: 12 kB / 0.6393 GB, free: 7.668 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.2288, allocations: 4 kB / 0.6393 GB, free: 7.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.2291, allocations: 118.8 kB / 0.6394 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2294, allocations: 0.6729 MB / 0.6401 GB, free: 6.816 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.2295, allocations: 11.42 kB / 0.6401 GB, free: 6.805 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2295, allocations: 7.938 kB / 0.6401 GB, free: 6.797 MB / 462.1 MB Notification: Performance of Templates: time 0.01586/0.2453, allocations: 0.7108 MB / 0.6408 GB, free: 6.086 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