Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 192.2 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.143e-05, allocations: 2.281 kB / 371.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004424/0.004446, allocations: 2.75 MB / 374.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.005764, allocations: 0.67 MB / 375.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.005904, allocations: 7.938 kB / 375.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.006087, allocations: 55.44 kB / 375.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.006287, allocations: 103.1 kB / 375.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.00658, allocations: 95.8 kB / 375.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.007116, allocations: 454.2 kB / 375.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.007328, allocations: 71.62 kB / 375.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.007566, allocations: 155.4 kB / 376.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.007753, allocations: 143.3 kB / 376.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.007815, allocations: 36 kB / 376.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.598e-05/0.007881, allocations: 32 kB / 376.3 MB, free: 4.668 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006243/0.008506, allocations: 0.6499 MB / 376.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002861/0.008792, allocations: 402.7 kB / 377.3 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.008848, allocations: 32 kB / 377.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.335e-05/0.008891, allocations: 12 kB / 377.4 MB, free: 3.57 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: 67 (67) * Number of variables: 67 (67) Notification: Performance of [SIM] Bindings: time 0.001824/0.01072, allocations: 1.617 MB / 379 MB, free: 1.824 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002792/0.01099, allocations: 179.1 kB / 379.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009437/0.01194, allocations: 0.7926 MB / 379.9 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004105/0.01235, allocations: 244.1 kB / 380.2 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2435/0.2558, allocations: 1.407 MB / 381.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002493/0.2561, allocations: 190.7 kB / 381.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.614e-05/0.2562, allocations: 103.8 kB / 381.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001901/0.2564, allocations: 201.4 kB / 382.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002262/0.2566, allocations: 129.2 kB / 382.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004257/0.257, allocations: 362.2 kB / 382.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0008524/0.2579, allocations: 0.6165 MB / 383.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006209/0.2585, allocations: 0.5802 MB / 383.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0007442/0.2592, allocations: 440.3 kB / 384.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0009053/0.2601, allocations: 0.8419 MB / 385 MB, free: 15.15 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.227e-05/0.2602, allocations: 24.88 kB / 385 MB, free: 15.13 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000147/0.2603, allocations: 146.3 kB / 385.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001414/0.2617, allocations: 0.8502 MB / 386 MB, free: 14.98 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0001561/0.2619, allocations: 84.22 kB / 386.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.032e-06/0.2619, allocations: 2.438 kB / 386.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003654/0.2623, allocations: 266.8 kB / 386.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.556e-06/0.2623, allocations: 4.875 kB / 386.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.000125/0.2624, allocations: 89.44 kB / 386.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.983e-05/0.2624, allocations: 5.156 kB / 386.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001202/0.2636, allocations: 0.771 MB / 387.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001302/0.2649, allocations: 1.664 MB / 388.9 MB, free: 13.24 MB / 302.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: ............... 0 * Number of algebraic event partitions: ......... 7 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_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: ........... 27 (scalar:27, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 44 (scalar:44, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 6.282e-05/0.265, allocations: 33.2 kB / 389 MB, free: 13.21 MB / 302.1 MB Notification: Performance of SimCode: time 0.001704/0.2667, allocations: 1.221 MB / 390.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Templates: time 0.009273/0.276, allocations: 3.871 MB / 394 MB, free: 11.76 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.975148693018127] Failed to read output from testmodel.py, exit status != 0: ['time', 'VariableResistor.i', 'R2.i'] 0.28386487695388496 0.298076414 0.28676497300000003 Calling exit ...