Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002616/0.002616, allocations: 210.8 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.636/1.636, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2488/0.2488, allocations: 46.96 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.539e-05/3.539e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.006499/0.006534, allocations: 2.642 MB / 0.4998 GB, free: 4.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.008747, allocations: 0.7518 MB / 0.5006 GB, free: 3.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.008968, allocations: 11.88 kB / 0.5006 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.009258, allocations: 59.44 kB / 0.5007 GB, free: 3.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.009659, allocations: 126.8 kB / 0.5008 GB, free: 3.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.01012, allocations: 103.8 kB / 0.5009 GB, free: 3.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007756/0.0109, allocations: 0.5135 MB / 0.5014 GB, free: 3.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.01122, allocations: 90.08 kB / 0.5015 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.01166, allocations: 191.4 kB / 0.5016 GB, free: 2.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.01197, allocations: 179.2 kB / 0.5018 GB, free: 2.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.466e-05/0.01205, allocations: 36 kB / 0.5018 GB, free: 2.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.01219, allocations: 40 kB / 0.5019 GB, free: 2.52 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0009084/0.0131, allocations: 0.7386 MB / 0.5026 GB, free: 1.773 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004645/0.01356, allocations: 465.9 kB / 0.5031 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.01365, allocations: 40 kB / 0.5031 GB, free: 1.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.344e-05/0.01372, allocations: 15.94 kB / 0.5031 GB, free: 1.258 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 [SIM] Bindings: time 0.002722/0.01644, allocations: 1.745 MB / 0.5048 GB, free: 15.38 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002813/0.01672, allocations: 201.1 kB / 0.505 GB, free: 15.16 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.00151/0.01823, allocations: 0.9916 MB / 0.506 GB, free: 14.14 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004697/0.0187, allocations: 216.3 kB / 0.5062 GB, free: 13.89 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.003731/0.02243, allocations: 1.845 MB / 0.508 GB, free: 11.75 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002606/0.02269, allocations: 133.8 kB / 0.5081 GB, free: 11.57 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001646/0.02286, allocations: 80.33 kB / 0.5082 GB, free: 11.47 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0006216/0.02348, allocations: 283 kB / 0.5085 GB, free: 11.14 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0001476/0.02363, allocations: 47.72 kB / 0.5085 GB, free: 11.1 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005309/0.02416, allocations: 293.1 kB / 0.5088 GB, free: 10.76 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001003/0.02516, allocations: 0.4894 MB / 0.5093 GB, free: 10.21 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005014/0.02566, allocations: 359.7 kB / 0.5096 GB, free: 9.863 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0008517/0.02651, allocations: 404.1 kB / 0.51 GB, free: 9.398 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001017/0.02753, allocations: 0.7155 MB / 0.5107 GB, free: 8.68 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 6.943e-05/0.0276, allocations: 22.75 kB / 0.5107 GB, free: 8.648 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001476/0.02775, allocations: 119.8 kB / 0.5108 GB, free: 8.531 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001522/0.02927, allocations: 0.7434 MB / 0.5115 GB, free: 7.785 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 4.401e-05/0.02932, allocations: 32 kB / 0.5116 GB, free: 7.754 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.02932, allocations: 0 / 0.5116 GB, free: 7.754 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.643e-05/0.02933, allocations: 9.109 kB / 0.5116 GB, free: 7.746 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 1.917e-05/0.02935, allocations: 24 kB / 0.5116 GB, free: 7.723 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.519e-05/0.02938, allocations: 7.938 kB / 0.5116 GB, free: 7.715 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0008681/0.03024, allocations: 414.1 kB / 0.512 GB, free: 7.305 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.001344/0.03159, allocations: 1.342 MB / 0.5133 GB, free: 5.703 MB / 382.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: ........... 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 (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: ........... 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001879/0.03178, allocations: 47.67 kB / 0.5134 GB, free: 5.66 MB / 382.1 MB Notification: Performance of SimCode: time 0.002556/0.03433, allocations: 1.286 MB / 0.5146 GB, free: 4.312 MB / 382.1 MB Notification: Performance of Templates: time 0.008702/0.04303, allocations: 2.194 MB / 0.5168 GB, free: 2.113 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.89532367233187]