Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.002017/0.002017, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002821/0.002821, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.51/1.51, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 378.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2855, allocations: 53.42 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003204/0.2888, allocations: 1.556 MB / 433.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004778/0.2892, allocations: 143.5 kB / 433.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.2893, allocations: 7.938 kB / 433.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.2894, allocations: 7.922 kB / 433.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.2896, allocations: 3.938 kB / 433.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2898, allocations: 43.83 kB / 433.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.29, allocations: 39.86 kB / 433.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2901, allocations: 15.98 kB / 433.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.2902, allocations: 19.92 kB / 433.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.2902, allocations: 19.86 kB / 433.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2902, allocations: 4 kB / 433.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.2903, allocations: 4 kB / 433.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.2903, allocations: 15.98 kB / 433.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.2904, allocations: 27.75 kB / 433.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2905, allocations: 67.05 kB / 433.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2905, allocations: 0 / 433.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2905, allocations: 0 / 433.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2905, allocations: 0 / 433.9 MB, free: 4.727 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004571/0.291, allocations: 310.9 kB / 434.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.291, allocations: 12.03 kB / 434.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.343e-05/0.2911, allocations: 192 / 434.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.2911, allocations: 34.75 kB / 434.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.2911, allocations: 12.89 kB / 434.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.2914, allocations: 141 kB / 434.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.2914, allocations: 8.312 kB / 434.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2914, allocations: 8.375 kB / 434.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.2917, allocations: 122.2 kB / 434.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2917, allocations: 4 kB / 434.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.2917, allocations: 0 / 434.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.2917, allocations: 7.984 kB / 434.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2919, allocations: 35.97 kB / 434.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.2923, allocations: 344.9 kB / 435 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.2925, allocations: 83.77 kB / 435 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.2926, allocations: 34.62 kB / 435.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.2926, allocations: 0 / 435.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.2926, allocations: 38.56 kB / 435.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2926, allocations: 3.938 kB / 435.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003425/0.2929, allocations: 105.5 kB / 435.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.293, allocations: 106.8 kB / 435.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2931, allocations: 146.1 kB / 435.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2932, allocations: 33.7 kB / 435.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.2932, allocations: 84.14 kB / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.2932, allocations: 15.94 kB / 435.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.2933, allocations: 21.7 kB / 435.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2934, allocations: 314.8 kB / 435.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.2935, allocations: 19.98 kB / 435.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.2936, allocations: 43.42 kB / 436 MB, free: 2.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.2937, allocations: 59.33 kB / 436 MB, free: 2.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2937, allocations: 0 / 436 MB, free: 2.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001797/0.2939, allocations: 89.5 kB / 436.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2939, allocations: 4 kB / 436.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2939, allocations: 0 / 436.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2939, allocations: 4 kB / 436.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.294, allocations: 11.98 kB / 436.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.294, allocations: 0 / 436.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.2941, allocations: 4 kB / 436.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2941, allocations: 4.125 kB / 436.2 MB, free: 2.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001141/0.2942, allocations: 129.8 kB / 436.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.2943, allocations: 53.58 kB / 436.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.2943, allocations: 15.92 kB / 436.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.2943, allocations: 4 kB / 436.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2943, allocations: 3.938 kB / 436.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2943, allocations: 3.984 kB / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.2946, allocations: 148.7 kB / 436.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2946, allocations: 0 / 436.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.2946, allocations: 8.031 kB / 436.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2946, allocations: 4 kB / 436.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2946, allocations: 0 / 436.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2946, allocations: 7.922 kB / 436.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2946, allocations: 4 kB / 436.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.295, allocations: 271.5 kB / 436.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.295, allocations: 7.953 kB / 436.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.295, allocations: 7.984 kB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2951, allocations: 8 kB / 436.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.2952, allocations: 4 kB / 436.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2952, allocations: 0 / 436.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.578e-05/0.2953, allocations: 114 kB / 436.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2953, allocations: 0 / 436.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.2955, allocations: 11.94 kB / 436.9 MB, free: 1.359 MB / 334.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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0006113/0.2961, allocations: 0.8023 MB / 437.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.2963, allocations: 47.91 kB / 437.8 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2963, allocations: 0 / 437.8 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.2964, allocations: 11.98 kB / 437.8 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.2968, allocations: 27.58 kB / 437.8 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.2984, allocations: 1.501 MB / 439.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.2987, allocations: 0.6924 MB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.2988, allocations: 7.984 kB / 440 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.2988, allocations: 15.44 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2988, allocations: 0 / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.3202, allocations: 1.856 MB / 441.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.11, allocations: 10.94 kB / 441.9 MB, free: 12.36 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.650496229995042] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 11.280847269983497 11.306298851 11.010370254 Calling exit ...