Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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.001451/0.001451, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.367/1.367, allocations: 230.5 MB / 258.2 MB, free: 7.781 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.2137/0.2137, allocations: 46.94 MB / 361.6 MB, free: 3.898 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: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 79.88 kB / 0.4969 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2745, allocations: 66.08 MB / 0.5614 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003219/0.2777, allocations: 1.865 MB / 0.5633 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.2796, allocations: 1.131 MB / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.2797, allocations: 0 / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.2803, allocations: 191.4 kB / 0.5645 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.2807, allocations: 179.3 kB / 0.5647 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.281, allocations: 167.5 kB / 0.5649 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.2814, allocations: 271.4 kB / 0.5651 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2815, allocations: 27.56 kB / 0.5652 GB, free: 164 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.2816, allocations: 115.6 kB / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.2818, allocations: 127.7 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.2818, allocations: 20 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.282, allocations: 67.83 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.282, allocations: 63.77 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.2822, allocations: 95.52 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.2825, allocations: 286.9 kB / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2825, allocations: 0 / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2825, allocations: 0 / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.2825, allocations: 0 / 0.5659 GB, free: 15.4 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.0009421/0.2835, allocations: 0.6049 MB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2835, allocations: 11.97 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.175e-05/0.2835, allocations: 8.125 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.2836, allocations: 42.73 kB / 0.5665 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.2837, allocations: 28.8 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.284, allocations: 225.5 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.2842, allocations: 170.7 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.2842, allocations: 20.12 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.2846, allocations: 267.8 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2846, allocations: 4 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.2846, allocations: 12 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2846, allocations: 0 / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.2849, allocations: 181 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.2857, allocations: 0.5547 MB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.2861, allocations: 245 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.2863, allocations: 159.6 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2863, allocations: 4 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005452/0.2869, allocations: 0.5177 MB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.2869, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001002/0.2879, allocations: 0.6178 MB / 0.5695 GB, free: 11.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.288, allocations: 213.6 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.2883, allocations: 337.8 kB / 0.57 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.2884, allocations: 33.7 kB / 0.57 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2885, allocations: 136.6 kB / 0.5701 GB, free: 10.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.2885, allocations: 59.58 kB / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.829e-05/0.2886, allocations: 49.7 kB / 0.5702 GB, free: 10.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2888, allocations: 338.8 kB / 0.5706 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.289, allocations: 149 kB / 0.5707 GB, free: 9.895 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.2893, allocations: 282.7 kB / 0.571 GB, free: 9.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.2897, allocations: 371 kB / 0.5713 GB, free: 9.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2897, allocations: 4 kB / 0.5713 GB, free: 9.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005923/0.2903, allocations: 443.9 kB / 0.5718 GB, free: 8.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.466e-05/0.2904, allocations: 105 kB / 0.5719 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2904, allocations: 0 / 0.5719 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2904, allocations: 4 kB / 0.5719 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.2905, allocations: 19.98 kB / 0.5719 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.2905, allocations: 7.938 kB / 0.5719 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.2906, allocations: 27.88 kB / 0.5719 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.2907, allocations: 8 kB / 0.5719 GB, free: 8.453 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.0002381/0.2909, allocations: 271 kB / 0.5722 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.2909, allocations: 39.8 kB / 0.5722 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.2913, allocations: 242.6 kB / 0.5725 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2914, allocations: 4.188 kB / 0.5725 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2914, allocations: 0 / 0.5725 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2914, allocations: 3.984 kB / 0.5725 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.2916, allocations: 236.6 kB / 0.5727 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2916, allocations: 4 kB / 0.5727 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.2917, allocations: 7.938 kB / 0.5727 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.2917, allocations: 7.938 kB / 0.5727 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.2917, allocations: 7.984 kB / 0.5727 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.2917, allocations: 12 kB / 0.5727 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2917, allocations: 0 / 0.5727 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.2924, allocations: 0.5318 MB / 0.5732 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.2925, allocations: 39.62 kB / 0.5733 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.2925, allocations: 8 kB / 0.5733 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2926, allocations: 19.98 kB / 0.5733 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.2927, allocations: 19.97 kB / 0.5733 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.2927, allocations: 12 kB / 0.5733 GB, free: 6.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.293, allocations: 245.2 kB / 0.5736 GB, free: 6.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.293, allocations: 4 kB / 0.5736 GB, free: 6.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.2933, allocations: 63.94 kB / 0.5736 GB, free: 6.543 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.002489/0.2958, allocations: 1.426 MB / 0.575 GB, free: 5.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.2964, allocations: 0.5279 MB / 0.5755 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2965, allocations: 4.062 kB / 0.5756 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.2968, allocations: 367.2 kB / 0.5759 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2972, allocations: 57.09 kB / 0.576 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.3011, allocations: 3.329 MB / 0.5792 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.3013, allocations: 149.1 kB / 0.5793 GB, free: 372 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.105e-05/0.3014, allocations: 33.77 kB / 0.5794 GB, free: 340 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.3015, allocations: 67.41 kB / 0.5794 GB, free: 272 kB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3015, allocations: 0 / 0.5794 GB, free: 272 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.3292, allocations: 6.799 MB / 0.5861 GB, free: 9.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.25, allocations: 12 kB / 0.5861 GB, free: 9.5 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_fmu --startTime=0 --stopTime=11 --stepSize=0.00219124 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.030102572985925] 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'] 11.479221698013134 11.49911016 11.213623371 Calling exit ...