Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 213.9 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 230.5 MB / 258.2 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2532/0.2532, allocations: 46.94 MB / 361.6 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 179] 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.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.448e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.00594/0.005965, allocations: 3.692 MB / 0.501 GB, free: 3.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.008971, allocations: 1.231 MB / 0.5022 GB, free: 2.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/0.009412, allocations: 31.75 kB / 0.5023 GB, free: 2.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.009757, allocations: 118.6 kB / 0.5024 GB, free: 1.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005722/0.01033, allocations: 170.5 kB / 0.5025 GB, free: 1.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.01127, allocations: 415.1 kB / 0.5029 GB, free: 1.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.01241, allocations: 1.115 MB / 0.504 GB, free: 292 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004326/0.01284, allocations: 186.2 kB / 0.5042 GB, free: 88 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006857/0.01353, allocations: 438.6 kB / 0.5046 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.01387, allocations: 286.2 kB / 0.5049 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.832e-05/0.01397, allocations: 64 kB / 0.5049 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.0141, allocations: 68 kB / 0.505 GB, free: 15.24 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001133/0.01523, allocations: 1.449 MB / 0.5064 GB, free: 13.78 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006491/0.01588, allocations: 0.9789 MB / 0.5074 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.01597, allocations: 48 kB / 0.5074 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001994/0.01616, allocations: 67.53 kB / 0.5075 GB, free: 12.67 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 (132) * Number of variables: 132 (132) Notification: Performance of [SIM] Bindings: time 0.003358/0.01952, allocations: 3.248 MB / 0.5107 GB, free: 9.234 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003797/0.0199, allocations: 335.5 kB / 0.511 GB, free: 8.898 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001799/0.0217, allocations: 1.64 MB / 0.5126 GB, free: 7.223 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005531/0.02226, allocations: 332.8 kB / 0.5129 GB, free: 6.824 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.004102/0.02636, allocations: 2.916 MB / 0.5157 GB, free: 3.5 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003458/0.0267, allocations: 229.8 kB / 0.516 GB, free: 3.227 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001561/0.02686, allocations: 136.2 kB / 0.5161 GB, free: 3.066 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0004778/0.02734, allocations: 368.5 kB / 0.5164 GB, free: 2.652 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002085/0.02755, allocations: 109 kB / 0.5166 GB, free: 2.543 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005471/0.02809, allocations: 461.9 kB / 0.517 GB, free: 2.055 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001072/0.02917, allocations: 0.7961 MB / 0.5178 GB, free: 1.223 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007894/0.02995, allocations: 0.8352 MB / 0.5186 GB, free: 396 kB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.2736/0.3036, allocations: 0.6713 MB / 0.5192 GB, free: 26.82 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.002126/0.3057, allocations: 1.483 MB / 0.5207 GB, free: 26.8 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 7.153e-05/0.3058, allocations: 38.2 kB / 0.5207 GB, free: 26.79 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.000368/0.3062, allocations: 343.9 kB / 0.5211 GB, free: 26.77 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.00455/0.3107, allocations: 2.838 MB / 0.5238 GB, free: 26.55 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 6.998e-05/0.3108, allocations: 93.34 kB / 0.5239 GB, free: 26.51 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 2.325e-06/0.3108, allocations: 4.844 kB / 0.5239 GB, free: 26.51 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006363/0.3114, allocations: 357.5 kB / 0.5243 GB, free: 26.41 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.288e-06/0.3114, allocations: 1 kB / 0.5243 GB, free: 26.41 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 3.213e-05/0.3115, allocations: 55.66 kB / 0.5243 GB, free: 26.39 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.033e-05/0.3115, allocations: 2.625 kB / 0.5243 GB, free: 26.39 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.002044/0.3135, allocations: 1.253 MB / 0.5255 GB, free: 26.35 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.001339/0.3149, allocations: 1.141 MB / 0.5267 GB, free: 25.56 MB / 382.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: ............... 2 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 16 (16) {integrator.y, inertia.w, inertia.phi, limIntegrator.y, derivative.x, firstOrder.y, secondOrder.y, secondOrder.yd, PI.x, PID.I.y, PID.D.x, PID1.I.y, PID1.D.x, Wsec.y, Vsec.y, Asec.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 54 (scalar:54, 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: ........... 94 (scalar:94, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 94 (scalar:94, 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.0001792/0.315, allocations: 65.84 kB / 0.5267 GB, free: 25.52 MB / 382.1 MB Notification: Performance of SimCode: time 0.003556/0.3186, allocations: 2.536 MB / 0.5292 GB, free: 24.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01315/0.3318, allocations: 5.36 MB / 0.5344 GB, free: 23.68 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.496013418014627] Failed to read output from testmodel.py, exit status != 0: ['time', 'Asec.y', 'PI.x', 'PID.D.x', 'PID.I.y', 'PID1.D.x', 'PID1.I.y', 'Vsec.y', 'Wsec.y', 'derivative.x', 'firstOrder.y', 'inertia.phi', 'inertia.w', 'integrator.y', 'limIntegrator.y', 'secondOrder.y', 'secondOrder.yd'] 0.3400848060264252 0.35147113300000005 0.333132594 Calling exit ...