Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 113.9 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 210.2 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.132/1.132, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1741/0.1741, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.655e-05, allocations: 4.953 kB / 481.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003024/0.003048, allocations: 2.86 MB / 484.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.004123, allocations: 0.7711 MB / 485.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.004289, allocations: 8 kB / 485.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.004444, allocations: 55.39 kB / 485.6 MB, free: 480 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.004675, allocations: 130.9 kB / 485.7 MB, free: 348 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.004957, allocations: 103.8 kB / 485.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.005401, allocations: 0.494 MB / 486.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.005613, allocations: 145.5 kB / 486.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.005856, allocations: 171.4 kB / 486.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.006056, allocations: 179.2 kB / 486.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.006111, allocations: 36 kB / 486.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.006194, allocations: 36 kB / 486.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.000352/0.006552, allocations: 0.6064 MB / 487.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001894/0.006748, allocations: 390.3 kB / 487.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.00682, allocations: 71.81 kB / 487.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.483e-05/0.00688, allocations: 19.88 kB / 487.9 MB, free: 14.1 MB / 366.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.00137/0.008256, allocations: 1.775 MB / 489.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of FunctionAlias: time 7.814e-05/0.00834, allocations: 79.81 kB / 489.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0007932/0.009139, allocations: 0.9756 MB / 490.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simplify1: time 6.41e-05/0.00921, allocations: 75.91 kB / 490.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Alias: time 0.002062/0.01128, allocations: 2.082 MB / 492.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simplify2: time 4.987e-05/0.01134, allocations: 35.95 kB / 493 MB, free: 8.656 MB / 366.1 MB Notification: Performance of Events: time 7.526e-05/0.01142, allocations: 63.84 kB / 493 MB, free: 8.594 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002723/0.0117, allocations: 297.5 kB / 493.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0002231/0.01193, allocations: 252.8 kB / 493.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of Causalize: time 0.0006612/0.0126, allocations: 0.7095 MB / 494.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003161/0.01292, allocations: 399.6 kB / 494.7 MB, free: 6.809 MB / 366.1 MB Notification: Performance of Inline: time 0.0007693/0.0137, allocations: 0.9257 MB / 495.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of Partitioning: time 6.256e-05/0.01377, allocations: 74.31 kB / 495.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of Cleanup: time 3.473e-05/0.01381, allocations: 35.91 kB / 495.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of Causalize: time 0.001119/0.01493, allocations: 1.095 MB / 496.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of Tearing: time 7.965e-06/0.01495, allocations: 0 / 496.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of Initialization: time 1.643e-06/0.01495, allocations: 0 / 496.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of Tearing: time 3.977e-06/0.01496, allocations: 7.938 kB / 496.8 MB, free: 4.625 MB / 366.1 MB Notification: Performance of Categorize: time 9.878e-06/0.01498, allocations: 4 kB / 496.8 MB, free: 4.621 MB / 366.1 MB Notification: Performance of Solve: time 0.0002723/0.01525, allocations: 222 kB / 497 MB, free: 4.402 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0007255/0.01599, allocations: 1.456 MB / 498.5 MB, free: 2.688 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: ........... 37 (scalar:37, 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: ........... 61 (scalar:61, 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 7.549e-05/0.01607, allocations: 30.52 kB / 498.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of SimCode: time 0.00123/0.0173, allocations: 1.894 MB / 0.4887 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of Templates: time 0.003995/0.02131, allocations: 1.916 MB / 0.4905 GB, free: 14.77 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches