Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.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.001319/0.001319, 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.001398/0.001398, allocations: 204.7 kB / 24.55 MB, free: 3.73 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2447/0.2447, allocations: 46.96 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.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold") translateModel(ModelicaTest.Blocks.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/1.993e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.002854/0.002874, allocations: 1.525 MB / 0.4989 GB, free: 5.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.004032, allocations: 0.5259 MB / 0.4994 GB, free: 5.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.004102, allocations: 0 / 0.4994 GB, free: 5.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.004132, allocations: 11.88 kB / 0.4994 GB, free: 5.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.384e-05/0.004226, allocations: 15.84 kB / 0.4994 GB, free: 5.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.004496, allocations: 47.88 kB / 0.4995 GB, free: 5.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.004668, allocations: 111.8 kB / 0.4996 GB, free: 4.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.004781, allocations: 7.984 kB / 0.4996 GB, free: 4.969 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.004973, allocations: 63.77 kB / 0.4996 GB, free: 4.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/0.005055, allocations: 35.83 kB / 0.4997 GB, free: 4.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.005076, allocations: 4 kB / 0.4997 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.005123, allocations: 12 kB / 0.4997 GB, free: 4.855 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001654/0.005289, allocations: 158.5 kB / 0.4998 GB, free: 4.699 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 6.644e-05/0.005355, allocations: 90.8 kB / 0.4999 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.00538, allocations: 8 kB / 0.4999 GB, free: 4.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.445e-05/0.005395, allocations: 0 / 0.4999 GB, free: 4.602 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (14) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.0007178/0.006113, allocations: 0.5029 MB / 0.5004 GB, free: 3.977 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001067/0.006219, allocations: 59.98 kB / 0.5005 GB, free: 3.906 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003443/0.006564, allocations: 300.1 kB / 0.5008 GB, free: 3.586 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001548/0.006718, allocations: 100.6 kB / 0.5009 GB, free: 3.441 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.000533/0.007251, allocations: 280.4 kB / 0.5011 GB, free: 3.109 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001319/0.007383, allocations: 92.64 kB / 0.5012 GB, free: 2.973 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 7.185e-05/0.007455, allocations: 60.41 kB / 0.5013 GB, free: 2.887 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0002918/0.007747, allocations: 174.3 kB / 0.5015 GB, free: 2.664 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001078/0.007855, allocations: 53 kB / 0.5015 GB, free: 2.613 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002137/0.008069, allocations: 135.9 kB / 0.5016 GB, free: 2.473 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0003631/0.008432, allocations: 220.4 kB / 0.5018 GB, free: 2.25 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002376/0.008669, allocations: 235.8 kB / 0.5021 GB, free: 2.02 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.000411/0.00908, allocations: 238.2 kB / 0.5023 GB, free: 1.723 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.000381/0.009461, allocations: 383.6 kB / 0.5027 GB, free: 1.344 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.736e-05/0.009489, allocations: 16.11 kB / 0.5027 GB, free: 1.32 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 5.924e-05/0.009548, allocations: 59.94 kB / 0.5027 GB, free: 1.262 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0008659/0.01041, allocations: 0.5686 MB / 0.5033 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 2.152e-05/0.01044, allocations: 16 kB / 0.5033 GB, free: 0.668 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.31e-07/0.01044, allocations: 0 / 0.5033 GB, free: 0.668 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.526e-05/0.01051, allocations: 36.11 kB / 0.5033 GB, free: 0.625 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.759e-06/0.01052, allocations: 0 / 0.5033 GB, free: 0.625 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.047e-05/0.01053, allocations: 15.94 kB / 0.5034 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 5.491e-06/0.01053, allocations: 0 / 0.5034 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0002591/0.01079, allocations: 173.8 kB / 0.5035 GB, free: 448 kB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001866/0.01098, allocations: 181.9 kB / 0.5037 GB, free: 232 kB / 366.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: ......... 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: .................... 7 (7) {firstOrderHold.firstTrigger, firstOrderHold.c, firstOrderHold.pre_uSample, firstOrderHold.uSample, firstOrderHold.tSample, zeroOrderHold.firstTrigger, zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {zeroOrderHold.sampleTrigger, firstOrderHold.sampleTrigger, $TEV_4, $TEV_3, $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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, 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: ........... 25 (scalar:25, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.0001174/0.01109, allocations: 28.92 kB / 0.5037 GB, free: 212 kB / 366.1 MB Notification: Performance of SimCode: time 0.0006644/0.01176, allocations: 330.4 kB / 0.504 GB, free: 15.87 MB / 382.1 MB Notification: Performance of Templates: time 0.003527/0.01529, allocations: 0.8171 MB / 0.5048 GB, free: 15.05 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.752647696004715] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrderHold.c', 'firstOrderHold.firstTrigger', 'firstOrderHold.pre_uSample', 'firstOrderHold.tSample', 'firstOrderHold.uSample', 'zeroOrderHold.firstTrigger', 'zeroOrderHold.ySample'] 0.02354605501750484 0.037957499000000006 0.029611398 Calling exit ...