Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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) 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_4.0.0_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_4.0.0_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.001099/0.001099, allocations: 107.3 kB / 18.46 MB, free: 4.613 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.001177/0.001178, allocations: 193.3 kB / 19.4 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.257e-05, allocations: 2.281 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00386/0.00389, allocations: 2.836 MB / 474 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.005007, allocations: 0.6894 MB / 474.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.005173, allocations: 8 kB / 474.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.005405, allocations: 59.38 kB / 474.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.005626, allocations: 126.9 kB / 474.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.005924, allocations: 91.81 kB / 475 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.006429, allocations: 493.9 kB / 475.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.006683, allocations: 133.5 kB / 475.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.006906, allocations: 183.3 kB / 475.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.007125, allocations: 171.2 kB / 475.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.007178, allocations: 32 kB / 475.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.514e-05/0.007239, allocations: 32 kB / 476 MB, free: 8.402 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0004796/0.007724, allocations: 0.6026 MB / 476.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002207/0.007951, allocations: 382.3 kB / 477 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.206e-05/0.008039, allocations: 71.75 kB / 477 MB, free: 7.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.823e-05/0.008103, allocations: 16 kB / 477 MB, free: 7.328 MB / 350.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.001701/0.009812, allocations: 1.763 MB / 478.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001554/0.009976, allocations: 99.84 kB / 478.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0008153/0.0108, allocations: 0.8506 MB / 479.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simplify1: time 9.331e-05/0.0109, allocations: 83.89 kB / 479.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of Alias: time 0.002504/0.01341, allocations: 2.086 MB / 481.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simplify2: time 4.515e-05/0.01347, allocations: 47.94 kB / 482 MB, free: 1.984 MB / 350.1 MB Notification: Performance of Events: time 9.121e-05/0.01356, allocations: 47.95 kB / 482 MB, free: 1.938 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003568/0.01393, allocations: 317.4 kB / 482.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002715/0.01421, allocations: 248.7 kB / 482.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of Causalize: time 0.0008674/0.01508, allocations: 0.7486 MB / 483.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003826/0.01547, allocations: 403.5 kB / 483.7 MB, free: 96 kB / 350.1 MB Notification: Performance of Inline: time 0.0008716/0.01635, allocations: 0.8503 MB / 484.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Partitioning: time 7.203e-05/0.01644, allocations: 67.47 kB / 484.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Cleanup: time 3.161e-05/0.01647, allocations: 27.97 kB / 484.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Causalize: time 0.001358/0.01784, allocations: 1.198 MB / 485.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Tearing: time 7.404e-06/0.01786, allocations: 4 kB / 485.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Initialization: time 4.31e-07/0.01786, allocations: 0 / 485.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Tearing: time 2.515e-06/0.01787, allocations: 0 / 485.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Categorize: time 1.467e-05/0.01789, allocations: 4 kB / 485.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Solve: time 0.00033/0.01823, allocations: 243.2 kB / 486.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0009554/0.01919, allocations: 1.464 MB / 487.6 MB, free: 11.93 MB / 366.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.0001389/0.01934, allocations: 45.61 kB / 487.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 0.001603/0.02095, allocations: 1.912 MB / 489.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of Templates: time 0.004993/0.02595, allocations: 1.959 MB / 491.5 MB, free: 7.945 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches