Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002125/0.002125, allocations: 107.6 kB / 21.26 MB, free: 0.5586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00235/0.00235, allocations: 218.2 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 230.5 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2432/0.2432, allocations: 46.95 MB / 361.6 MB, free: 3.887 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.087e-05, allocations: 6.219 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.002788/0.002809, allocations: 1.524 MB / 0.4989 GB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003878, allocations: 0.526 MB / 0.4994 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.003942, allocations: 3.938 kB / 0.4994 GB, free: 5.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.003971, allocations: 3.938 kB / 0.4994 GB, free: 5.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.004072, allocations: 19.78 kB / 0.4994 GB, free: 4.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.004341, allocations: 55.81 kB / 0.4995 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.004506, allocations: 103.8 kB / 0.4996 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.004622, allocations: 8 kB / 0.4996 GB, free: 4.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.004798, allocations: 59.77 kB / 0.4997 GB, free: 4.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.004881, allocations: 39.77 kB / 0.4997 GB, free: 4.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.004904, allocations: 11.98 kB / 0.4997 GB, free: 4.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.004952, allocations: 12 kB / 0.4997 GB, free: 4.699 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001637/0.005116, allocations: 150.5 kB / 0.4999 GB, free: 4.551 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 6.539e-05/0.005181, allocations: 94.78 kB / 0.5 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.005207, allocations: 8 kB / 0.5 GB, free: 4.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.291e-05/0.00522, allocations: 7.938 kB / 0.5 GB, free: 4.441 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.0006846/0.005904, allocations: 0.4952 MB / 0.5005 GB, free: 3.824 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001024/0.006007, allocations: 59.94 kB / 0.5005 GB, free: 3.754 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003351/0.006342, allocations: 304.1 kB / 0.5008 GB, free: 3.43 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001583/0.0065, allocations: 104.6 kB / 0.5009 GB, free: 3.281 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0005635/0.007064, allocations: 272.5 kB / 0.5012 GB, free: 2.957 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001349/0.007199, allocations: 104.6 kB / 0.5013 GB, free: 2.809 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 6.402e-05/0.007263, allocations: 52.41 kB / 0.5013 GB, free: 2.73 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0003306/0.007593, allocations: 177.3 kB / 0.5015 GB, free: 2.508 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001082/0.007701, allocations: 45.06 kB / 0.5015 GB, free: 2.465 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001994/0.007901, allocations: 138.2 kB / 0.5017 GB, free: 2.324 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.000358/0.008259, allocations: 228 kB / 0.5019 GB, free: 2.094 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002229/0.008482, allocations: 231.8 kB / 0.5021 GB, free: 1.867 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0003752/0.008857, allocations: 223.9 kB / 0.5023 GB, free: 1.578 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0003676/0.009224, allocations: 375.6 kB / 0.5027 GB, free: 1.207 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.551e-05/0.00925, allocations: 16.11 kB / 0.5027 GB, free: 1.184 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 6.028e-05/0.00931, allocations: 67.86 kB / 0.5027 GB, free: 1.117 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.000879/0.01019, allocations: 0.5777 MB / 0.5033 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 2.06e-05/0.01021, allocations: 16 kB / 0.5033 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.01021, allocations: 0 / 0.5033 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.161e-05/0.01028, allocations: 40.09 kB / 0.5034 GB, free: 480 kB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.871e-06/0.01029, allocations: 4 kB / 0.5034 GB, free: 476 kB / 366.1 MB Notification: Performance of [SIM] Tearing: time 6.222e-06/0.01029, allocations: 8 kB / 0.5034 GB, free: 468 kB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.815e-06/0.0103, allocations: 4 kB / 0.5034 GB, free: 464 kB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.0002492/0.01055, allocations: 168.8 kB / 0.5035 GB, free: 296 kB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001547/0.01071, allocations: 182 kB / 0.5037 GB, free: 80 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 9.104e-05/0.0108, allocations: 34.88 kB / 0.5037 GB, free: 48 kB / 366.1 MB Notification: Performance of SimCode: time 0.0006142/0.01141, allocations: 324.3 kB / 0.5041 GB, free: 15.71 MB / 382.1 MB Notification: Performance of Templates: time 0.003694/0.01511, allocations: 0.8182 MB / 0.5049 GB, free: 14.9 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.08447685604915] 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.02332624699920416 0.038594665 0.029997382000000003 Calling exit ...