Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.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.001359/0.001359, 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.001574/0.001574, allocations: 190.7 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.598/1.598, allocations: 225.7 MB / 253.4 MB, free: 12.79 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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.452e-05, allocations: 2.281 kB / 371.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.004569/0.004594, allocations: 2.053 MB / 373.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.005692, allocations: 0.522 MB / 374.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.474e-05/0.005786, allocations: 4 kB / 374.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.005936, allocations: 27.78 kB / 374.3 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.493e-05/0.006031, allocations: 43.62 kB / 374.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.006264, allocations: 39.89 kB / 374.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.006517, allocations: 191.2 kB / 374.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.006686, allocations: 37.59 kB / 374.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.006812, allocations: 63.78 kB / 374.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.007017, allocations: 67.62 kB / 374.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.007042, allocations: 12 kB / 374.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.007109, allocations: 16 kB / 374.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002691/0.007378, allocations: 261.4 kB / 375 MB, free: 5.801 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001615/0.00754, allocations: 173.7 kB / 375.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.00757, allocations: 12 kB / 375.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.451e-05/0.007595, allocations: 7.984 kB / 375.2 MB, free: 5.609 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: 28 (28) * Number of variables: 28 (28) Notification: Performance of [SIM] Bindings: time 0.001071/0.008666, allocations: 0.7248 MB / 376 MB, free: 4.762 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001669/0.008833, allocations: 101.5 kB / 376.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004234/0.009256, allocations: 384 kB / 376.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001572/0.009413, allocations: 114 kB / 376.5 MB, free: 4.094 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001377/0.01079, allocations: 0.6928 MB / 377.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001468/0.01094, allocations: 85.28 kB / 377.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001747/0.01111, allocations: 60.28 kB / 377.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001644/0.01128, allocations: 104.8 kB / 377.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001043/0.01138, allocations: 24.2 kB / 377.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001919/0.01157, allocations: 104.2 kB / 377.6 MB, free: 2.789 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003621/0.01193, allocations: 176.1 kB / 377.8 MB, free: 2.602 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002096/0.01214, allocations: 167.9 kB / 377.9 MB, free: 2.438 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004725/0.01262, allocations: 227.7 kB / 378.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004151/0.01303, allocations: 293 kB / 378.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.047e-05/0.01306, allocations: 16.12 kB / 378.5 MB, free: 1.832 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.551e-05/0.01312, allocations: 43.95 kB / 378.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000665/0.01378, allocations: 328.8 kB / 378.8 MB, free: 1.469 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 9.777e-05/0.01388, allocations: 35.98 kB / 378.9 MB, free: 1.434 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.11e-07/0.01388, allocations: 0 / 378.9 MB, free: 1.434 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001575/0.01404, allocations: 82.31 kB / 378.9 MB, free: 1.34 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.94e-06/0.01404, allocations: 3.938 kB / 378.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.04e-05/0.0141, allocations: 35.98 kB / 379 MB, free: 1.301 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.984e-06/0.01411, allocations: 0 / 379 MB, free: 1.301 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004717/0.01458, allocations: 200.5 kB / 379.2 MB, free: 1.105 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009463/0.01553, allocations: 0.7127 MB / 379.9 MB, free: 288 kB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ................. 2 (2) {$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: ........... 7 (scalar:7, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 6.351e-05/0.01559, allocations: 22.02 kB / 379.9 MB, free: 272 kB / 302.1 MB Notification: Performance of SimCode: time 0.2259/0.2415, allocations: 0.5586 MB / 380.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of Templates: time 0.004909/0.2464, allocations: 1.298 MB / 381.8 MB, free: 16.73 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.890103379031643] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.i', 'resistor.LossPower'] 0.25538794201565906 0.269238597 0.25858111100000003 Calling exit ...