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.009309/0.009309, allocations: 1.437 MB / 17.75 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1082/0.1082, allocations: 22.37 MB / 41.17 MB, free: 7.785 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.0009822/0.0009824, allocations: 104 kB / 48.66 MB, free: 268 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.00115/0.00115, allocations: 196.8 kB / 56.27 MB, free: 9.453 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.204/1.204, 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 0.7633/0.7633, allocations: 127.8 MB / 471.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.601e-05, allocations: 2.281 kB / 0.6358 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001443/0.001467, allocations: 1.033 MB / 0.6368 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.003161, allocations: 1.404 MB / 0.6382 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.003196, allocations: 0 / 0.6382 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.003213, allocations: 0 / 0.6382 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.003604, allocations: 91.66 kB / 0.6383 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.476e-06/0.003621, allocations: 4 kB / 0.6383 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.019e-05/0.003666, allocations: 7.984 kB / 0.6383 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.003704, allocations: 0 / 0.6383 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.003722, allocations: 7.922 kB / 0.6383 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/0.003752, allocations: 7.938 kB / 0.6383 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-06/0.003762, allocations: 0 / 0.6383 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.004075, allocations: 191.7 kB / 0.6385 GB, free: 10.59 MB / 478.1 MB Notification: Performance of combineBinaries: time 2.899e-05/0.004114, allocations: 23.73 kB / 0.6385 GB, free: 10.56 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 1.278e-05/0.004132, allocations: 15.75 kB / 0.6385 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.843e-06/0.004144, allocations: 0 / 0.6385 GB, free: 10.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.095e-05/0.00416, allocations: 11.98 kB / 0.6386 GB, free: 10.54 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 (4) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0002497/0.004414, allocations: 189 kB / 0.6387 GB, free: 10.25 MB / 478.1 MB Notification: Performance of FunctionAlias: time 1.905e-05/0.004441, allocations: 11.98 kB / 0.6387 GB, free: 10.24 MB / 478.1 MB Notification: Performance of Early Inline: time 0.0001443/0.00459, allocations: 120.3 kB / 0.6389 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simplify1: time 1.236e-05/0.004611, allocations: 19.97 kB / 0.6389 GB, free: 10.07 MB / 478.1 MB Notification: Performance of Alias: time 0.000235/0.00485, allocations: 125.2 kB / 0.639 GB, free: 9.898 MB / 478.1 MB Notification: Performance of simplify2: time 1.151e-05/0.00487, allocations: 4 kB / 0.639 GB, free: 9.895 MB / 478.1 MB Notification: Performance of Detect States: time 5.491e-05/0.00493, allocations: 40.2 kB / 0.639 GB, free: 9.84 MB / 478.1 MB Notification: Performance of Events: time 1.785e-05/0.004953, allocations: 4 kB / 0.639 GB, free: 9.836 MB / 478.1 MB Notification: Performance of Partitioning: time 4.642e-05/0.005004, allocations: 40.17 kB / 0.6391 GB, free: 9.781 MB / 478.1 MB Notification: Performance of Causalize: time 8.157e-05/0.005091, allocations: 72.14 kB / 0.6391 GB, free: 9.695 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 6.463e-05/0.005163, allocations: 80.38 kB / 0.6392 GB, free: 9.59 MB / 478.1 MB Notification: Performance of Inline: time 0.0008882/0.006056, allocations: 0.9564 MB / 0.6402 GB, free: 8.598 MB / 478.1 MB Notification: Performance of Partitioning: time 1.091e-05/0.006076, allocations: 8.125 kB / 0.6402 GB, free: 8.582 MB / 478.1 MB Notification: Performance of Cleanup: time 4.237e-05/0.006122, allocations: 39.88 kB / 0.6402 GB, free: 8.543 MB / 478.1 MB Notification: Performance of Causalize: time 0.0001201/0.006247, allocations: 86.17 kB / 0.6403 GB, free: 8.453 MB / 478.1 MB Notification: Performance of Tearing: time 7.955e-06/0.006263, allocations: 0 / 0.6403 GB, free: 8.453 MB / 478.1 MB Notification: Performance of Initialization: time 1.433e-06/0.006271, allocations: 4.188 kB / 0.6403 GB, free: 8.449 MB / 478.1 MB Notification: Performance of Tearing: time 2.264e-06/0.00628, allocations: 11.88 kB / 0.6403 GB, free: 8.438 MB / 478.1 MB Notification: Performance of Categorize: time 1.01e-05/0.006294, allocations: 0 / 0.6403 GB, free: 8.438 MB / 478.1 MB Notification: Performance of Solve: time 0.0001311/0.006429, allocations: 75.86 kB / 0.6404 GB, free: 8.363 MB / 478.1 MB Notification: Performance of Jacobian: time 2.635e-06/0.006442, allocations: 0 / 0.6404 GB, free: 8.363 MB / 478.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.634e-05/0.006483, allocations: 23.94 kB / 0.6404 GB, free: 8.344 MB / 478.1 MB Notification: Performance of SimCode: time 0.000584/0.007071, allocations: 0.8545 MB / 0.6412 GB, free: 7.469 MB / 478.1 MB Notification: Performance of Templates: time 0.003191/0.01027, allocations: 1.506 MB / 0.6427 GB, free: 5.965 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/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