Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001348/0.001348, 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.001456/0.001456, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.44/1.44, allocations: 230.7 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.212/0.212, allocations: 44.93 MB / 359.7 MB, free: 6.121 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.159e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.002778/0.0028, allocations: 1.526 MB / 0.4958 GB, free: 8.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.003987, allocations: 0.5221 MB / 0.4963 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.004046, allocations: 4 kB / 0.4963 GB, free: 7.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.004081, allocations: 7.875 kB / 0.4963 GB, free: 7.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.004165, allocations: 11.86 kB / 0.4963 GB, free: 7.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.004415, allocations: 51.89 kB / 0.4964 GB, free: 7.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.004588, allocations: 115.7 kB / 0.4965 GB, free: 7.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.004708, allocations: 8 kB / 0.4965 GB, free: 7.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.004886, allocations: 55.83 kB / 0.4966 GB, free: 7.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.004965, allocations: 39.83 kB / 0.4966 GB, free: 7.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.004985, allocations: 8 kB / 0.4966 GB, free: 7.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.8e-05/0.005033, allocations: 8 kB / 0.4966 GB, free: 7.691 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001636/0.005197, allocations: 158.5 kB / 0.4968 GB, free: 7.535 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.879e-05/0.005256, allocations: 82.81 kB / 0.4968 GB, free: 7.453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.005281, allocations: 4 kB / 0.4968 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.431e-05/0.005296, allocations: 3.938 kB / 0.4969 GB, free: 7.445 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.0007225/0.006018, allocations: 0.507 MB / 0.4973 GB, free: 6.816 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.965e-05/0.006098, allocations: 63.84 kB / 0.4974 GB, free: 6.742 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003574/0.006455, allocations: 296.1 kB / 0.4977 GB, free: 6.426 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001469/0.006602, allocations: 104.6 kB / 0.4978 GB, free: 6.277 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0005052/0.007108, allocations: 284.3 kB / 0.4981 GB, free: 5.941 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001261/0.007234, allocations: 100.6 kB / 0.4982 GB, free: 5.797 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 7.713e-05/0.007311, allocations: 60.41 kB / 0.4982 GB, free: 5.711 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0003131/0.007624, allocations: 171.4 kB / 0.4984 GB, free: 5.488 MB / 366.1 MB Notification: Performance of [SIM] Events: time 8.702e-05/0.007711, allocations: 33.16 kB / 0.4984 GB, free: 5.457 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001983/0.007909, allocations: 144 kB / 0.4985 GB, free: 5.309 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0003438/0.008253, allocations: 212.3 kB / 0.4987 GB, free: 5.094 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002189/0.008472, allocations: 247.6 kB / 0.499 GB, free: 4.852 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0003674/0.008839, allocations: 227.8 kB / 0.4992 GB, free: 4.562 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0003579/0.009197, allocations: 387.6 kB / 0.4996 GB, free: 4.18 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.233e-05/0.009219, allocations: 12.12 kB / 0.4996 GB, free: 4.16 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 6.319e-05/0.009283, allocations: 63.92 kB / 0.4996 GB, free: 4.098 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0008314/0.01011, allocations: 0.5647 MB / 0.5002 GB, free: 3.523 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 2.423e-05/0.01014, allocations: 16 kB / 0.5002 GB, free: 3.508 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.01014, allocations: 3.938 kB / 0.5002 GB, free: 3.504 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.509e-05/0.01021, allocations: 42.72 kB / 0.5003 GB, free: 3.457 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.078e-06/0.01022, allocations: 4 kB / 0.5003 GB, free: 3.453 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 8.325e-06/0.01023, allocations: 12 kB / 0.5003 GB, free: 3.441 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.003e-06/0.01023, allocations: 4 kB / 0.5003 GB, free: 3.438 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0002557/0.01049, allocations: 181.1 kB / 0.5004 GB, free: 3.262 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001516/0.01064, allocations: 178 kB / 0.5006 GB, free: 3.055 MB / 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 8.135e-05/0.01072, allocations: 29.59 kB / 0.5006 GB, free: 3.031 MB / 366.1 MB Notification: Performance of SimCode: time 0.00058/0.0113, allocations: 322.2 kB / 0.501 GB, free: 2.699 MB / 366.1 MB Notification: Performance of Templates: time 0.003405/0.01471, allocations: 0.8344 MB / 0.5018 GB, free: 1.867 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.685906562022865] 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.023365783970803022 0.03736811399999994 0.02914688699999994 Calling exit ...