Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 119.2 kB / 17.1 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 194.8 kB / 18.03 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2436/0.2436, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.679e-05, allocations: 2.281 kB / 442.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002992/0.003017, allocations: 2.837 MB / 445.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.00451, allocations: 0.737 MB / 446 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004148/0.004936, allocations: 8 kB / 446 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.005239, allocations: 55.39 kB / 446.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.005737, allocations: 130.9 kB / 446.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.00607, allocations: 87.83 kB / 446.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.006649, allocations: 497.8 kB / 446.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.006904, allocations: 141.5 kB / 446.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.007255, allocations: 171.4 kB / 447.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.007527, allocations: 175.2 kB / 447.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.007594, allocations: 32 kB / 447.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.122e-05/0.00767, allocations: 32 kB / 447.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003592/0.008035, allocations: 0.6027 MB / 447.9 MB, free: 212 kB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000231/0.008271, allocations: 378.5 kB / 448.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.008401, allocations: 71.81 kB / 448.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.000117/0.008523, allocations: 23.88 kB / 448.4 MB, free: 15.73 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 (93) * Number of variables: 93 (93) Notification: Performance of Bindings: time 0.001648/0.01018, allocations: 1.756 MB / 450.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001397/0.01033, allocations: 115.7 kB / 450.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0008485/0.01118, allocations: 0.843 MB / 451.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simplify1: time 9.747e-05/0.01129, allocations: 79.89 kB / 451.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Alias: time 0.002649/0.01394, allocations: 2.09 MB / 453.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simplify2: time 4.411e-05/0.014, allocations: 43.94 kB / 453.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of Detect States: time 0.0003658/0.01437, allocations: 296.4 kB / 453.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Events: time 0.0001117/0.01449, allocations: 51.97 kB / 453.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0002905/0.01479, allocations: 260.7 kB / 453.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of Causalize: time 0.0009467/0.01575, allocations: 0.7558 MB / 454.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004693/0.01623, allocations: 407.5 kB / 455 MB, free: 8.504 MB / 334.1 MB Notification: Performance of Inline: time 0.001086/0.01735, allocations: 0.8399 MB / 455.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of Partitioning: time 9.493e-05/0.01745, allocations: 66.34 kB / 455.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of Cleanup: time 4.018e-05/0.0175, allocations: 35.91 kB / 456 MB, free: 7.523 MB / 334.1 MB Notification: Performance of Causalize: time 0.001551/0.01906, allocations: 1.198 MB / 457.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of Tearing: time 1.597e-05/0.01909, allocations: 7.938 kB / 457.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Initialization: time 3.21e-07/0.01909, allocations: 0 / 457.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Tearing: time 5.37e-06/0.01911, allocations: 3.938 kB / 457.2 MB, free: 6.301 MB / 334.1 MB Notification: Performance of Categorize: time 1.643e-05/0.01913, allocations: 4 kB / 457.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of Solve: time 0.0003447/0.01948, allocations: 251.2 kB / 457.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of Jacobian: time 0.001153/0.02064, allocations: 1.456 MB / 458.9 MB, free: 4.336 MB / 334.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 7 * 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: ............................. 18 (18) {J2.phi, J2.w, J4.phi, J4.w, J6.phi, J6.w, inertia1.phi, inertia1.w, inertia2.phi, inertia2.w, inertia3.phi, inertia3.w, inertia4.phi, inertia4.w, inertia5.phi, inertia5.w, inertia6.phi, inertia6.w} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 39 (scalar:39, 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: ........... 63 (scalar:63, 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 0.0001646/0.02081, allocations: 33.22 kB / 458.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of SimCode: time 0.001795/0.02261, allocations: 1.922 MB / 460.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of Templates: time 0.005246/0.02787, allocations: 1.904 MB / 462.7 MB, free: 420 kB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches