Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.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.001335/0.001335, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001509/0.001509, allocations: 212.7 kB / 24.55 MB, free: 3.746 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2276/0.2276, allocations: 46.97 MB / 361.7 MB, free: 3.992 MB / 286.1 MB " [Timeout remaining time 180] 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.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_4.1.0_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_4.1.0_ModelicaTest.Blocks.UnitDeduction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.415e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.009878/0.009902, allocations: 3.68 MB / 0.501 GB, free: 3.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004566/0.01447, allocations: 1.239 MB / 0.5022 GB, free: 2.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007962/0.01526, allocations: 31.75 kB / 0.5022 GB, free: 2.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007496/0.01601, allocations: 114.7 kB / 0.5024 GB, free: 2.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.01726, allocations: 178.5 kB / 0.5025 GB, free: 1.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.01901, allocations: 406.8 kB / 0.5029 GB, free: 1.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.02144, allocations: 1.104 MB / 0.504 GB, free: 448 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008136/0.02225, allocations: 190.2 kB / 0.5042 GB, free: 240 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.02353, allocations: 442.4 kB / 0.5046 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000753/0.02428, allocations: 290.2 kB / 0.5049 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.02451, allocations: 64 kB / 0.5049 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.02478, allocations: 76 kB / 0.505 GB, free: 15.38 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.00206/0.02684, allocations: 1.445 MB / 0.5064 GB, free: 13.92 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001443/0.02828, allocations: 0.975 MB / 0.5074 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.02854, allocations: 48 kB / 0.5074 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002992/0.02884, allocations: 67.58 kB / 0.5075 GB, free: 12.82 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.005883/0.03473, allocations: 3.245 MB / 0.5106 GB, free: 9.379 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007597/0.03548, allocations: 339.6 kB / 0.511 GB, free: 9.035 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.003228/0.03871, allocations: 1.64 MB / 0.5126 GB, free: 7.359 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00107/0.03978, allocations: 316.8 kB / 0.5129 GB, free: 6.977 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.007037/0.04682, allocations: 2.922 MB / 0.5157 GB, free: 3.648 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006304/0.04745, allocations: 238.3 kB / 0.516 GB, free: 3.367 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002685/0.04772, allocations: 132.3 kB / 0.5161 GB, free: 3.211 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0007018/0.04842, allocations: 372.4 kB / 0.5164 GB, free: 2.797 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0003021/0.04872, allocations: 100.1 kB / 0.5165 GB, free: 2.699 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008745/0.0496, allocations: 465.8 kB / 0.517 GB, free: 2.203 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001857/0.05145, allocations: 0.7937 MB / 0.5177 GB, free: 1.375 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001362/0.05282, allocations: 0.843 MB / 0.5186 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.2278/0.2806, allocations: 0.679 MB / 0.5192 GB, free: 26.92 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001523/0.2822, allocations: 1.482 MB / 0.5207 GB, free: 26.91 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 6.481e-05/0.2822, allocations: 36.5 kB / 0.5207 GB, free: 26.89 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0002954/0.2825, allocations: 344 kB / 0.521 GB, free: 26.88 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.003967/0.2865, allocations: 2.836 MB / 0.5238 GB, free: 26.67 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 5.807e-05/0.2865, allocations: 97.97 kB / 0.5239 GB, free: 26.62 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 1.673e-06/0.2865, allocations: 0 / 0.5239 GB, free: 26.62 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005172/0.2871, allocations: 349 kB / 0.5242 GB, free: 26.53 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.233e-06/0.2871, allocations: 1.531 kB / 0.5242 GB, free: 26.53 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 2.358e-05/0.2871, allocations: 51.44 kB / 0.5243 GB, free: 26.5 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.691e-05/0.2871, allocations: 7.891 kB / 0.5243 GB, free: 26.5 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001681/0.2888, allocations: 1.279 MB / 0.5255 GB, free: 26.45 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008379/0.2896, allocations: 1.126 MB / 0.5266 GB, free: 25.67 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.0001288/0.2898, allocations: 57.47 kB / 0.5267 GB, free: 25.63 MB / 382.1 MB Notification: Performance of SimCode: time 0.002828/0.2926, allocations: 2.535 MB / 0.5292 GB, free: 24.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01182/0.3044, allocations: 5.363 MB / 0.5344 GB, free: 23.85 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.219846096006222] 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.3150551790022291 0.323948 0.292549891 Calling exit ...