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.001446/0.001446, allocations: 111.6 kB / 17.1 MB, free: 5.832 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.001626/0.001626, allocations: 194.7 kB / 18.03 MB, free: 4.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2765/0.2765, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.163e-05, allocations: 2.281 kB / 442.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004068/0.004107, allocations: 2.837 MB / 445.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.005329, allocations: 0.7371 MB / 446 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.005511, allocations: 11.94 kB / 446 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.005759, allocations: 55.39 kB / 446.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.006011, allocations: 126.9 kB / 446.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.006332, allocations: 95.81 kB / 446.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.006773, allocations: 485.9 kB / 446.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.007052, allocations: 149.4 kB / 446.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.007245, allocations: 167.4 kB / 447.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.007419, allocations: 183.1 kB / 447.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.007477, allocations: 32 kB / 447.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.603e-05/0.007539, allocations: 32 kB / 447.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000426/0.00797, allocations: 0.5988 MB / 447.9 MB, free: 216 kB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000297/0.008273, allocations: 382.4 kB / 448.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.008369, allocations: 71.81 kB / 448.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.215e-05/0.008447, allocations: 15.94 kB / 448.4 MB, free: 15.74 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.002072/0.01053, allocations: 1.767 MB / 450.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.000176/0.01071, allocations: 95.75 kB / 450.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0008947/0.01161, allocations: 0.8507 MB / 451.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplify1: time 8.934e-05/0.01171, allocations: 79.91 kB / 451.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Alias: time 0.003251/0.01497, allocations: 2.094 MB / 453.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplify2: time 4.907e-05/0.01504, allocations: 43.95 kB / 453.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of Events: time 0.0001039/0.01515, allocations: 55.88 kB / 453.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of Detect States: time 0.0004145/0.01557, allocations: 296.5 kB / 453.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0003381/0.01592, allocations: 260.8 kB / 453.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of Causalize: time 0.001041/0.01697, allocations: 0.752 MB / 454.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005941/0.01757, allocations: 411.5 kB / 455 MB, free: 8.504 MB / 334.1 MB Notification: Performance of Inline: time 0.0009965/0.01858, allocations: 0.8427 MB / 455.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of Partitioning: time 8.217e-05/0.01868, allocations: 66.36 kB / 455.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of Cleanup: time 4.192e-05/0.01873, allocations: 35.91 kB / 456 MB, free: 7.52 MB / 334.1 MB Notification: Performance of Causalize: time 0.001506/0.02024, allocations: 1.188 MB / 457.2 MB, free: 6.32 MB / 334.1 MB Notification: Performance of Tearing: time 8.136e-06/0.02026, allocations: 0 / 457.2 MB, free: 6.32 MB / 334.1 MB Notification: Performance of Initialization: time 3.91e-07/0.02027, allocations: 4 kB / 457.2 MB, free: 6.316 MB / 334.1 MB Notification: Performance of Tearing: time 9.288e-06/0.02029, allocations: 11.92 kB / 457.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Categorize: time 2.229e-05/0.02031, allocations: 0 / 457.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Solve: time 0.0003992/0.02072, allocations: 239.3 kB / 457.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of Jacobian: time 0.001107/0.02184, allocations: 1.464 MB / 458.9 MB, free: 4.348 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.0001886/0.02203, allocations: 34.27 kB / 458.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of SimCode: time 0.001885/0.02392, allocations: 1.898 MB / 460.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of Templates: time 0.006712/0.03065, allocations: 1.966 MB / 462.8 MB, free: 388 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