Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.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.001568/0.001568, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 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.00146/0.00146, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.618/1.618, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2501/0.2501, allocations: 46.96 MB / 361.7 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.91 kB / 0.4969 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3853, allocations: 66.03 MB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.004434/0.3897, allocations: 1.875 MB / 0.5632 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.392, allocations: 1.127 MB / 0.5643 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.3922, allocations: 11.94 kB / 0.5643 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.393, allocations: 179.5 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.3935, allocations: 175.4 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.3941, allocations: 166.9 kB / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.3945, allocations: 279.3 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.3947, allocations: 23.62 kB / 0.5651 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3949, allocations: 115.6 kB / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.3951, allocations: 123.6 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.3951, allocations: 16 kB / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.3953, allocations: 75.89 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.3955, allocations: 71.8 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3956, allocations: 87.66 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.3961, allocations: 290.8 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3961, allocations: 0 / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3961, allocations: 0 / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.3961, allocations: 0 / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.00117/0.3973, allocations: 0.5972 MB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.3973, allocations: 12.03 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.033e-05/0.3973, allocations: 4.188 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.3974, allocations: 50.73 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.3975, allocations: 28.8 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.3979, allocations: 217.5 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.398, allocations: 178.3 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.3981, allocations: 16 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.3985, allocations: 274.6 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3985, allocations: 0 / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.3985, allocations: 7.938 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3985, allocations: 7.938 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.3988, allocations: 181 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.3997, allocations: 0.5586 MB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.4001, allocations: 237 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.4003, allocations: 163.6 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.4003, allocations: 4 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005808/0.4009, allocations: 0.5193 MB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.4009, allocations: 0 / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001039/0.402, allocations: 0.6221 MB / 0.5694 GB, free: 11.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.4021, allocations: 225.5 kB / 0.5696 GB, free: 11.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.4025, allocations: 329.8 kB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.4026, allocations: 33.7 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.4027, allocations: 132.6 kB / 0.5701 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.4027, allocations: 59.58 kB / 0.5701 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.4028, allocations: 53.69 kB / 0.5702 GB, free: 10.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.403, allocations: 334.8 kB / 0.5705 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.4032, allocations: 149.1 kB / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.4035, allocations: 283.3 kB / 0.5709 GB, free: 9.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.4039, allocations: 374.6 kB / 0.5713 GB, free: 9.367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.404, allocations: 0 / 0.5713 GB, free: 9.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006363/0.4046, allocations: 439.3 kB / 0.5717 GB, free: 8.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.4047, allocations: 101.1 kB / 0.5718 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4047, allocations: 4.219 kB / 0.5718 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4047, allocations: 8 kB / 0.5718 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4048, allocations: 15.94 kB / 0.5718 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4048, allocations: 7.984 kB / 0.5718 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.405, allocations: 27.89 kB / 0.5718 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.405, allocations: 8 kB / 0.5718 GB, free: 8.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.4053, allocations: 273.7 kB / 0.5721 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.4053, allocations: 31.8 kB / 0.5721 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.4058, allocations: 246.7 kB / 0.5724 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4058, allocations: 0 / 0.5724 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4058, allocations: 8 kB / 0.5724 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4058, allocations: 3.984 kB / 0.5724 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.4061, allocations: 236.5 kB / 0.5726 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4061, allocations: 3.984 kB / 0.5726 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.4061, allocations: 8 kB / 0.5726 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4061, allocations: 0 / 0.5726 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.4062, allocations: 12 kB / 0.5726 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4062, allocations: 0 / 0.5726 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4062, allocations: 96 / 0.5726 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/0.407, allocations: 0.5434 MB / 0.5732 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.407, allocations: 31.73 kB / 0.5732 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.4071, allocations: 16 kB / 0.5732 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4072, allocations: 15.98 kB / 0.5732 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.4073, allocations: 15.98 kB / 0.5732 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.4073, allocations: 15.98 kB / 0.5733 GB, free: 7.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002714/0.4076, allocations: 241.2 kB / 0.5735 GB, free: 6.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4076, allocations: 0 / 0.5735 GB, free: 6.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.4079, allocations: 71.94 kB / 0.5736 GB, free: 6.801 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002707/0.4107, allocations: 1.441 MB / 0.575 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007563/0.4114, allocations: 0.5428 MB / 0.5755 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4114, allocations: 0 / 0.5755 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.4119, allocations: 367.6 kB / 0.5758 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.4123, allocations: 56.41 kB / 0.5759 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/0.4172, allocations: 3.321 MB / 0.5791 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.4174, allocations: 149.1 kB / 0.5793 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.4176, allocations: 29.77 kB / 0.5793 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.4178, allocations: 67.42 kB / 0.5794 GB, free: 0.543 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4178, allocations: 0 / 0.5794 GB, free: 0.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.4483, allocations: 6.811 MB / 0.586 GB, free: 9.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.29, allocations: 6.953 kB / 0.586 GB, free: 9.82 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay_fmu --startTime=0 --stopTime=11 --stepSize=0.00219124 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.620603197952732] Failed to read output from testmodel.py, exit status != 0: ['time', 'booleanTable.y', 'onDelay1.delaySignal', 'onDelay1.t_next', 'onDelay1.u', 'onDelay2.delaySignal', 'onDelay2.t_next', 'onDelay2.u', 'onDelay3.delaySignal', 'onDelay3.t_next', 'onDelay3.u'] 12.533993676071987 12.551641625 12.152327126 Calling exit ...