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.008596/0.008597, allocations: 1.432 MB / 17.6 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1246/0.1246, allocations: 22.37 MB / 41.01 MB, free: 7.855 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.001372/0.001372, allocations: 104 kB / 48.5 MB, free: 344 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.001697/0.001697, allocations: 188.1 kB / 56.09 MB, free: 9.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 1.476/1.476, allocations: 222.9 MB / 286.4 MB, free: 14.07 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9679/0.9679, allocations: 127.8 MB / 471.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 127.8 kB / 0.554 GB, free: 17.05 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2156, allocations: 82.35 MB / 0.6344 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.003189/0.2189, allocations: 1.009 MB / 0.6354 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.2214, allocations: 1.398 MB / 0.6367 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.2215, allocations: 0 / 0.6367 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.2215, allocations: 0 / 0.6367 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006506/0.2222, allocations: 103.6 kB / 0.6368 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.16e-06/0.2222, allocations: 0 / 0.6368 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.914e-05/0.2223, allocations: 4 kB / 0.6368 GB, free: 12.17 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.024e-05/0.2223, allocations: 0 / 0.6368 GB, free: 12.17 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.2223, allocations: 3.938 kB / 0.6368 GB, free: 12.17 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.2224, allocations: 15.92 kB / 0.6368 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.295e-06/0.2224, allocations: 0 / 0.6368 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.2229, allocations: 183.7 kB / 0.637 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.2229, allocations: 3.984 kB / 0.637 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.223, allocations: 11.92 kB / 0.637 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.2232, allocations: 87.88 kB / 0.6371 GB, free: 11.87 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2232, allocations: 0 / 0.6371 GB, free: 11.87 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.2232, allocations: 0 / 0.6371 GB, free: 11.87 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2232, allocations: 0 / 0.6371 GB, free: 11.87 MB / 478.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.0004339/0.2237, allocations: 339.4 kB / 0.6374 GB, free: 11.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2237, allocations: 11.97 kB / 0.6375 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.2238, allocations: 4.938 kB / 0.6375 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2239, allocations: 164.6 kB / 0.6376 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2239, allocations: 384 / 0.6376 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.224, allocations: 12.36 kB / 0.6376 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2241, allocations: 42 kB / 0.6377 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2241, allocations: 0 / 0.6377 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2241, allocations: 4 kB / 0.6377 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2242, allocations: 0 / 0.6377 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.2242, allocations: 11.98 kB / 0.6377 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.2244, allocations: 149.7 kB / 0.6378 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2246, allocations: 46.48 kB / 0.6379 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.2246, allocations: 20.86 kB / 0.6379 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005156/0.2251, allocations: 344.5 kB / 0.6382 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.2252, allocations: 38.5 kB / 0.6383 GB, free: 10.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.2252, allocations: 0 / 0.6383 GB, free: 10.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002198/0.2254, allocations: 61.62 kB / 0.6383 GB, free: 10.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.2255, allocations: 55.41 kB / 0.6384 GB, free: 10.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.2255, allocations: 93.86 kB / 0.6385 GB, free: 10.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2256, allocations: 25.7 kB / 0.6385 GB, free: 10.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.2256, allocations: 80.14 kB / 0.6386 GB, free: 10.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.2257, allocations: 11.81 kB / 0.6386 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.2257, allocations: 17.7 kB / 0.6386 GB, free: 10.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2259, allocations: 314.8 kB / 0.6389 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.2259, allocations: 8 kB / 0.6389 GB, free: 9.766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.226, allocations: 4 kB / 0.6389 GB, free: 9.762 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.226, allocations: 28.84 kB / 0.6389 GB, free: 9.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.226, allocations: 0 / 0.6389 GB, free: 9.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.882e-05/0.2261, allocations: 49.64 kB / 0.639 GB, free: 9.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2262, allocations: 11.92 kB / 0.639 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2262, allocations: 0 / 0.639 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2262, allocations: 0 / 0.639 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.2263, allocations: 8 kB / 0.639 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2263, allocations: 0 / 0.639 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.2263, allocations: 0 / 0.639 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.2263, allocations: 3.938 kB / 0.639 GB, free: 9.652 MB / 478.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.0001023/0.2264, allocations: 119.4 kB / 0.6391 GB, free: 9.527 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.2264, allocations: 3.938 kB / 0.6391 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.2266, allocations: 61.48 kB / 0.6392 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2266, allocations: 7.938 kB / 0.6392 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2266, allocations: 0 / 0.6392 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2266, allocations: 0 / 0.6392 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2268, allocations: 153.7 kB / 0.6393 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2268, allocations: 0 / 0.6393 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.2268, allocations: 4 kB / 0.6393 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2268, allocations: 7.938 kB / 0.6393 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2268, allocations: 4 kB / 0.6393 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.336e-05/0.2268, allocations: 3.984 kB / 0.6393 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2268, allocations: 0 / 0.6393 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.227, allocations: 77.03 kB / 0.6394 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.227, allocations: 81.05 kB / 0.6395 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.227, allocations: 3.938 kB / 0.6395 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.2271, allocations: 0 / 0.6395 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.2271, allocations: 19.92 kB / 0.6395 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2271, allocations: 0 / 0.6395 GB, free: 9.016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.2271, allocations: 79.22 kB / 0.6396 GB, free: 8.938 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2272, allocations: 0 / 0.6396 GB, free: 8.938 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.2274, allocations: 16 kB / 0.6396 GB, free: 8.922 MB / 478.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.0001986/0.2276, allocations: 111.2 kB / 0.6397 GB, free: 8.805 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.2277, allocations: 23.98 kB / 0.6397 GB, free: 8.781 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2277, allocations: 4 kB / 0.6397 GB, free: 8.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.2277, allocations: 11.94 kB / 0.6398 GB, free: 8.766 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.2279, allocations: 8 kB / 0.6398 GB, free: 8.758 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.2282, allocations: 110.8 kB / 0.6399 GB, free: 8.617 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.2285, allocations: 0.6768 MB / 0.6405 GB, free: 7.914 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.2286, allocations: 11.44 kB / 0.6405 GB, free: 7.902 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2286, allocations: 3.938 kB / 0.6405 GB, free: 7.898 MB / 478.1 MB Notification: Performance of Templates: time 0.00257/0.2311, allocations: 0.707 MB / 0.6412 GB, free: 7.191 MB / 478.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