Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001944/0.001944, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002344/0.002344, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.568/1.568, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 64.05 kB / 378.6 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3069, allocations: 53.41 MB / 432 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002994/0.3099, allocations: 1.526 MB / 433.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004341/0.3104, allocations: 135.3 kB / 433.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3105, allocations: 3.938 kB / 433.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.644e-05/0.3105, allocations: 7.938 kB / 433.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3107, allocations: 7.922 kB / 433.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.3109, allocations: 35.91 kB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.311, allocations: 27.92 kB / 433.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3112, allocations: 7.938 kB / 433.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.3112, allocations: 15.98 kB / 433.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.3112, allocations: 19.86 kB / 433.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3113, allocations: 7.938 kB / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-06/0.3113, allocations: 0 / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.3113, allocations: 7.984 kB / 433.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.3114, allocations: 23.81 kB / 433.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.3115, allocations: 40.61 kB / 433.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3115, allocations: 0 / 433.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3115, allocations: 0 / 433.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.3115, allocations: 0 / 433.8 MB, free: 4.945 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004836/0.312, allocations: 294 kB / 434.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.312, allocations: 12.03 kB / 434.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.76e-05/0.312, allocations: 192 / 434.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.3121, allocations: 34.75 kB / 434.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.3121, allocations: 12.89 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3124, allocations: 130.4 kB / 434.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3124, allocations: 4.312 kB / 434.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.3124, allocations: 4.375 kB / 434.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.3126, allocations: 97.36 kB / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3126, allocations: 0 / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3126, allocations: 4 kB / 434.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3126, allocations: 0 / 434.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.3127, allocations: 19.92 kB / 434.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.3131, allocations: 236.8 kB / 434.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.3132, allocations: 45.14 kB / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.3132, allocations: 21.77 kB / 434.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.3132, allocations: 0 / 434.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3133, allocations: 38.56 kB / 434.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3133, allocations: 0 / 434.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.3135, allocations: 57.62 kB / 434.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3135, allocations: 81.09 kB / 434.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3137, allocations: 137.5 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3137, allocations: 33.7 kB / 435.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.3138, allocations: 84.14 kB / 435.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.788e-06/0.3138, allocations: 0 / 435.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.3138, allocations: 17.72 kB / 435.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3139, allocations: 314.8 kB / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.314, allocations: 8 kB / 435.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.314, allocations: 29.64 kB / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.1e-05/0.3141, allocations: 25.64 kB / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3141, allocations: 0 / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001107/0.3142, allocations: 57.58 kB / 435.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3142, allocations: 10.5 kB / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3142, allocations: 3.938 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3142, allocations: 4.125 kB / 435.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.3143, allocations: 4 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3143, allocations: 0 / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.3143, allocations: 7.984 kB / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.3143, allocations: 0 / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.28e-05/0.3144, allocations: 117.8 kB / 435.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.3145, allocations: 41.59 kB / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.3145, allocations: 19.75 kB / 435.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3145, allocations: 3.969 kB / 435.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3145, allocations: 4 kB / 435.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3145, allocations: 0 / 435.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3147, allocations: 144.6 kB / 435.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3147, allocations: 0 / 435.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.3147, allocations: 8 kB / 435.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3147, allocations: 0 / 435.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3147, allocations: 4 kB / 436 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3147, allocations: 0 / 436 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3147, allocations: 0 / 436 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.3149, allocations: 160.3 kB / 436.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.3149, allocations: 11.95 kB / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.315, allocations: 0 / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.315, allocations: 7.984 kB / 436.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3151, allocations: 3.938 kB / 436.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.3151, allocations: 0 / 436.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.546e-05/0.3151, allocations: 107.3 kB / 436.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3151, allocations: 0 / 436.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.3153, allocations: 4 kB / 436.2 MB, free: 2.211 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0005166/0.3159, allocations: 0.6898 MB / 436.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.316, allocations: 19.92 kB / 437 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.316, allocations: 0 / 437 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.316, allocations: 8 kB / 437 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3164, allocations: 14.77 kB / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3177, allocations: 1.28 MB / 438.3 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.318, allocations: 0.6846 MB / 438.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.825e-05/0.3181, allocations: 4 kB / 438.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.3181, allocations: 11.44 kB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3181, allocations: 0 / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.339, allocations: 1.514 MB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.29, allocations: 11.23 kB / 440.5 MB, free: 13.95 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.897630452993326] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 11.4473192950245 11.461470284 11.146854467 Calling exit ...