Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.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.001512/0.001512, 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.001553/0.001553, allocations: 204.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.597/1.597, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2826/0.2826, allocations: 46.96 MB / 361.6 MB, free: 4.066 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.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|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.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|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.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.583e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.005183/0.005219, allocations: 2.821 MB / 0.5 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.007323, allocations: 1.009 MB / 0.501 GB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.007503, allocations: 7.938 kB / 0.501 GB, free: 3.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.007713, allocations: 63.33 kB / 0.5011 GB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.007973, allocations: 130.9 kB / 0.5012 GB, free: 3.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.008544, allocations: 171.5 kB / 0.5014 GB, free: 3.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006391/0.009183, allocations: 0.5486 MB / 0.5019 GB, free: 2.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.009404, allocations: 79.91 kB / 0.502 GB, free: 2.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.009765, allocations: 207.3 kB / 0.5022 GB, free: 2.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.01002, allocations: 183.2 kB / 0.5023 GB, free: 2.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.01007, allocations: 28 kB / 0.5024 GB, free: 2.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.01021, allocations: 51.98 kB / 0.5024 GB, free: 2.008 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006912/0.0109, allocations: 0.7231 MB / 0.5031 GB, free: 1.277 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003679/0.01126, allocations: 469.8 kB / 0.5036 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.959e-05/0.01135, allocations: 40 kB / 0.5036 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.542e-05/0.01141, allocations: 15.98 kB / 0.5036 GB, free: 0.7578 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: 88 (88) * Number of variables: 88 (88) Notification: Performance of [SIM] Bindings: time 0.002056/0.01347, allocations: 1.693 MB / 0.5053 GB, free: 14.93 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003031/0.01377, allocations: 209.1 kB / 0.5055 GB, free: 14.71 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001152/0.01492, allocations: 0.9564 MB / 0.5064 GB, free: 13.72 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004218/0.01534, allocations: 259.5 kB / 0.5067 GB, free: 13.43 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.002734/0.01808, allocations: 1.649 MB / 0.5083 GB, free: 11.52 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002439/0.01832, allocations: 162 kB / 0.5084 GB, free: 11.32 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000106/0.01843, allocations: 84.33 kB / 0.5085 GB, free: 11.21 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0004452/0.01887, allocations: 294.5 kB / 0.5088 GB, free: 10.86 MB / 382.1 MB Notification: Performance of [SIM] Events: time 7.202e-05/0.01894, allocations: 27.84 kB / 0.5088 GB, free: 10.84 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004083/0.01935, allocations: 292.6 kB / 0.5091 GB, free: 10.5 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.002932/0.02228, allocations: 2.315 MB / 0.5113 GB, free: 7.945 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004408/0.02272, allocations: 415.6 kB / 0.5117 GB, free: 7.539 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.000746/0.02347, allocations: 447.7 kB / 0.5122 GB, free: 7.035 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0008461/0.02432, allocations: 0.7884 MB / 0.5129 GB, free: 6.238 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 5.392e-05/0.02437, allocations: 32 kB / 0.513 GB, free: 6.203 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001208/0.02449, allocations: 127.8 kB / 0.5131 GB, free: 6.078 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001316/0.02581, allocations: 0.8891 MB / 0.514 GB, free: 5.188 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 4.713e-05/0.02585, allocations: 32 kB / 0.514 GB, free: 5.156 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 3.937e-06/0.02586, allocations: 4 kB / 0.514 GB, free: 5.152 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.548e-06/0.02587, allocations: 0 / 0.514 GB, free: 5.152 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 2.241e-05/0.02589, allocations: 32 kB / 0.514 GB, free: 5.121 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.928e-05/0.02591, allocations: 7.938 kB / 0.514 GB, free: 5.113 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0006689/0.02658, allocations: 401.5 kB / 0.5144 GB, free: 4.723 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.001219/0.0278, allocations: 1.223 MB / 0.5156 GB, free: 3.277 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: ............... 1 * 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: ............................. 13 (13) {inertia1.w, linearSpeedDependentTorque.phi, inertia2.w, quadraticSpeedDependentTorque.phi, inertia3.w, constantTorque.phi, inertia4.phi, inertia4.w, eddyCurrentTorque.phi, inertia5.w, eddyCurrentTorque.TheatPort, inertia6.w, inverseSpeedDependentTorque.phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$SEV_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: ........... 48 (scalar:48, 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: ........... 65 (scalar:65, 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.0001779/0.02798, allocations: 57.03 kB / 0.5157 GB, free: 3.227 MB / 382.1 MB Notification: Performance of SimCode: time 0.002216/0.03019, allocations: 1.34 MB / 0.517 GB, free: 1.816 MB / 382.1 MB Notification: Performance of Templates: time 0.287/0.3172, allocations: 2.631 MB / 0.5195 GB, free: 26.9 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.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.857447376940399]