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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 112.9 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 192.5 kB / 23.72 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 252.3 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2117/0.2117, allocations: 44.91 MB / 352.3 MB, free: 12.25 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.347e-05, allocations: 5.516 kB / 495.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004005/0.004029, allocations: 2.842 MB / 498.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.005144, allocations: 0.705 MB / 499.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.005278, allocations: 15.88 kB / 499.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.005453, allocations: 55.44 kB / 499.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.005685, allocations: 138.8 kB / 499.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.005936, allocations: 83.89 kB / 499.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005/0.006436, allocations: 497.9 kB / 0.4885 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.006632, allocations: 85.56 kB / 0.4886 GB, free: 13.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.006861, allocations: 171.4 kB / 0.4887 GB, free: 13.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.007058, allocations: 175.2 kB / 0.4889 GB, free: 13.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.007114, allocations: 36 kB / 0.489 GB, free: 13.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.007171, allocations: 32 kB / 0.489 GB, free: 13.12 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0005617/0.007733, allocations: 0.6572 MB / 0.4896 GB, free: 12.46 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002571/0.00799, allocations: 394.3 kB / 0.49 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.008074, allocations: 79.75 kB / 0.4901 GB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.901e-05/0.008123, allocations: 19.97 kB / 0.4901 GB, free: 11.97 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.001479/0.009603, allocations: 1.409 MB / 0.4915 GB, free: 10.43 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001945/0.009797, allocations: 170.5 kB / 0.4916 GB, free: 10.27 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0006289/0.01043, allocations: 0.6048 MB / 0.4922 GB, free: 9.633 MB / 366.1 MB Notification: Performance of Simplify 1: time 0.0001888/0.01061, allocations: 151.5 kB / 0.4924 GB, free: 9.457 MB / 366.1 MB Notification: Performance of Alias: time 0.002404/0.01302, allocations: 1.797 MB / 0.4941 GB, free: 7.371 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0001225/0.01314, allocations: 95.69 kB / 0.4942 GB, free: 7.254 MB / 366.1 MB Notification: Performance of Remove Stream: time 8.259e-05/0.01322, allocations: 79.75 kB / 0.4943 GB, free: 7.148 MB / 366.1 MB Notification: Performance of Detect States: time 0.0003216/0.01355, allocations: 229.9 kB / 0.4945 GB, free: 6.883 MB / 366.1 MB Notification: Performance of Events: time 8.736e-05/0.01363, allocations: 59.88 kB / 0.4946 GB, free: 6.824 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0002798/0.01391, allocations: 240.7 kB / 0.4948 GB, free: 6.535 MB / 366.1 MB Notification: Performance of Causalize: time 0.0008163/0.01473, allocations: 0.6862 MB / 0.4955 GB, free: 5.797 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002367/0.01497, allocations: 251.7 kB / 0.4957 GB, free: 5.551 MB / 366.1 MB Notification: Performance of Simplify: time 0.0004613/0.01543, allocations: 355.8 kB / 0.496 GB, free: 5.16 MB / 366.1 MB Notification: Performance of Inline: time 0.0004347/0.01586, allocations: 452.7 kB / 0.4965 GB, free: 4.711 MB / 366.1 MB Notification: Performance of Partitioning: time 3.669e-05/0.0159, allocations: 22.38 kB / 0.4965 GB, free: 4.684 MB / 366.1 MB Notification: Performance of Cleanup: time 9.206e-05/0.01599, allocations: 119.9 kB / 0.4966 GB, free: 4.566 MB / 366.1 MB Notification: Performance of Causalize: time 0.001242/0.01723, allocations: 1.006 MB / 0.4976 GB, free: 3.551 MB / 366.1 MB Notification: Performance of Tearing: time 9.889e-06/0.01724, allocations: 0 / 0.4976 GB, free: 3.551 MB / 366.1 MB Notification: Performance of Initialization: time 3.31e-07/0.01724, allocations: 0 / 0.4976 GB, free: 3.551 MB / 366.1 MB Notification: Performance of Remove Dummies: time 7.354e-06/0.01725, allocations: 3.938 kB / 0.4976 GB, free: 3.547 MB / 366.1 MB Notification: Performance of Tearing: time 4.118e-06/0.01725, allocations: 4 kB / 0.4976 GB, free: 3.543 MB / 366.1 MB Notification: Performance of Categorize: time 1.293e-05/0.01727, allocations: 8 kB / 0.4976 GB, free: 3.535 MB / 366.1 MB Notification: Performance of Solve: time 0.0003079/0.01757, allocations: 207.3 kB / 0.4978 GB, free: 3.336 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0009273/0.0185, allocations: 1.374 MB / 0.4991 GB, free: 1.703 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 5 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 2 * 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) {} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of clocks: ............................. 0 (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 (resizable: 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001032/0.01861, allocations: 37.94 kB / 0.4992 GB, free: 1.672 MB / 366.1 MB Notification: Performance of SimCode: time 0.001585/0.02019, allocations: 1.808 MB / 0.501 GB, free: 15.79 MB / 382.1 MB Notification: Performance of Templates: time 0.005049/0.02524, allocations: 1.986 MB / 0.5029 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.538309149444103]