Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.00134/0.00134, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001525/0.001525, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.809e-05, allocations: 2.281 kB / 378.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003946/0.003974, allocations: 2.135 MB / 381.1 MB, free: 364 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005603/0.004534, allocations: 195.3 kB / 381.2 MB, free: 168 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.00472, allocations: 8 kB / 381.3 MB, free: 160 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.004838, allocations: 39.64 kB / 381.3 MB, free: 120 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.005069, allocations: 59.42 kB / 381.3 MB, free: 60 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.005292, allocations: 51.94 kB / 381.4 MB, free: 8 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2092/0.2145, allocations: 263.9 kB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.2147, allocations: 80.25 kB / 381.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2149, allocations: 90.33 kB / 381.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.215, allocations: 104.8 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.2151, allocations: 20.72 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.2151, allocations: 23.19 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003116/0.2154, allocations: 419.9 kB / 382.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001139/0.2156, allocations: 263.8 kB / 382.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.2156, allocations: 21.97 kB / 382.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.326e-05/0.2156, allocations: 5.469 kB / 382.7 MB, free: 12.68 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 (56) * Number of variables: 56 (56) Notification: Performance of [SIM] Bindings: time 0.000884/0.2165, allocations: 1.078 MB / 383.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001273/0.2166, allocations: 129.4 kB / 383.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004447/0.2171, allocations: 0.5426 MB / 384.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002074/0.2173, allocations: 163.3 kB / 384.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001968/0.2193, allocations: 1.427 MB / 386 MB, free: 11.35 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.899e-05/0.2193, allocations: 91.36 kB / 386.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.283e-05/0.2194, allocations: 48.84 kB / 386.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001435/0.2195, allocations: 123.5 kB / 386.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of [SIM] Events: time 1.897e-05/0.2195, allocations: 13.31 kB / 386.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001226/0.2197, allocations: 100.9 kB / 386.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002006/0.2199, allocations: 163.4 kB / 386.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001039/0.22, allocations: 132.8 kB / 386.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005693/0.2205, allocations: 494.4 kB / 387.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.000274/0.2208, allocations: 348.2 kB / 387.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.608e-05/0.2208, allocations: 23.44 kB / 387.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.06e-05/0.2209, allocations: 49.02 kB / 387.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0005233/0.2214, allocations: 451.1 kB / 388 MB, free: 10.18 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.59e-05/0.2214, allocations: 20.47 kB / 388 MB, free: 10.16 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.2e-07/0.2214, allocations: 1.188 kB / 388 MB, free: 10.16 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.779e-06/0.2214, allocations: 1.125 kB / 388 MB, free: 10.16 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.536e-06/0.2214, allocations: 10.25 kB / 388 MB, free: 10.15 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.004e-05/0.2214, allocations: 7.125 kB / 388 MB, free: 10.15 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002786/0.2217, allocations: 220.2 kB / 388.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.000165/0.2219, allocations: 391.1 kB / 388.6 MB, free: 9.66 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 2 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * 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: ............................. 4 (4) {mass1.s, mass1.v, inertia2.s, inertia2.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (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: ........... 11 (scalar:11, 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: ........... 35 (scalar:35, 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 3.78e-05/0.2219, allocations: 32.56 kB / 388.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of SimCode: time 0.000827/0.2227, allocations: 0.7756 MB / 389.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of Templates: time 0.02866/0.2514, allocations: 1.472 MB / 390.9 MB, free: 9.035 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.387646354734898]