Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001817/0.001817, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002012/0.002012, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.559/1.559, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 59.91 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2729, allocations: 53.41 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004797/0.2777, allocations: 1.89 MB / 433.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.2811, allocations: 1.234 MB / 435 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.2812, allocations: 7.938 kB / 435 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.2816, allocations: 63.67 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.2821, allocations: 143.4 kB / 435.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.283, allocations: 231.3 kB / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.2834, allocations: 183.5 kB / 435.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.2835, allocations: 35.77 kB / 435.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.2837, allocations: 75.7 kB / 435.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.2839, allocations: 87.61 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.2839, allocations: 11.98 kB / 435.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.2841, allocations: 75.89 kB / 435.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2843, allocations: 59.81 kB / 436 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2844, allocations: 59.55 kB / 436 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.2849, allocations: 262.9 kB / 436.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2849, allocations: 0 / 436.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2849, allocations: 0 / 436.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2849, allocations: 0 / 436.3 MB, free: 2.039 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009718/0.2859, allocations: 478.5 kB / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2859, allocations: 8.031 kB / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.71e-05/0.286, allocations: 4.188 kB / 436.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.489e-05/0.286, allocations: 42.73 kB / 436.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.415e-05/0.2861, allocations: 24.75 kB / 436.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.2867, allocations: 245.4 kB / 437.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.2867, allocations: 8.359 kB / 437.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.2868, allocations: 8.375 kB / 437.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.2873, allocations: 227.8 kB / 437.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2873, allocations: 3.938 kB / 437.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.2873, allocations: 4 kB / 437.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2874, allocations: 0 / 437.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.2876, allocations: 47.91 kB / 437.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.2884, allocations: 437.6 kB / 437.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.2888, allocations: 138.5 kB / 437.9 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.289, allocations: 59.34 kB / 438 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.289, allocations: 4 kB / 438 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.2893, allocations: 101 kB / 438.1 MB, free: 4 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.2893, allocations: 4 kB / 438.1 MB, free: 0 / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006562/0.2899, allocations: 169.4 kB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.2901, allocations: 195.8 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.2906, allocations: 340.2 kB / 438.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.2907, allocations: 25.7 kB / 438.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.2908, allocations: 140.3 kB / 439 MB, free: 15.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.2909, allocations: 15.91 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.2909, allocations: 33.7 kB / 439 MB, free: 15.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.2912, allocations: 335.1 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.2913, allocations: 31.98 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.2915, allocations: 187.8 kB / 439.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.2918, allocations: 93.08 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2918, allocations: 0 / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004495/0.2922, allocations: 149.3 kB / 439.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2923, allocations: 8 kB / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2923, allocations: 0 / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2923, allocations: 0 / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2925, allocations: 23.98 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2925, allocations: 0 / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2926, allocations: 20.2 kB / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.2927, allocations: 15.86 kB / 439.8 MB, free: 14.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0002173/0.2929, allocations: 161.9 kB / 440 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.293, allocations: 69.55 kB / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.2934, allocations: 135.4 kB / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.2934, allocations: 4 kB / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2935, allocations: 0 / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2935, allocations: 0 / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.2938, allocations: 208.6 kB / 440.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.2938, allocations: 4 kB / 440.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.2939, allocations: 15.98 kB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2939, allocations: 64 / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2939, allocations: 8 kB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.294, allocations: 3.938 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.294, allocations: 4 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.2944, allocations: 191.5 kB / 440.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.2945, allocations: 43.72 kB / 440.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.2946, allocations: 4 kB / 440.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2947, allocations: 11.98 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.2948, allocations: 7.984 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.2948, allocations: 11.94 kB / 440.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.2952, allocations: 259 kB / 441 MB, free: 12.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2952, allocations: 0 / 441 MB, free: 12.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004879/0.2957, allocations: 35.94 kB / 441 MB, free: 12.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.002904/0.2986, allocations: 1.062 MB / 442.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.2989, allocations: 83.89 kB / 442.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2989, allocations: 320 / 442.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2991, allocations: 39.92 kB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.2997, allocations: 84.91 kB / 442.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.3029, allocations: 2.309 MB / 444.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.3031, allocations: 136.5 kB / 444.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.3032, allocations: 29.77 kB / 444.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.3033, allocations: 63.42 kB / 444.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3033, allocations: 3.938 kB / 444.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.3309, allocations: 5.993 MB / 450.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.44, allocations: 10.5 kB / 450.8 MB, free: 3.082 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.102592895040289] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 11.666427583084442 11.681960731 11.3938754 Calling exit ...