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.00163/0.00163, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001414/0.001414, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.532/1.532, allocations: 230.5 MB / 258.2 MB, free: 7.75 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.002539/0.002539, allocations: 63.89 kB / 378.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.315, allocations: 53.41 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00277/0.3178, allocations: 1.514 MB / 433.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003697/0.3182, allocations: 139.5 kB / 433.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.3182, allocations: 0 / 433.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.3183, allocations: 3.938 kB / 433.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3184, allocations: 7.938 kB / 433.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.3186, allocations: 39.89 kB / 433.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.368e-05/0.3187, allocations: 31.86 kB / 433.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.3188, allocations: 6.109 kB / 433.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.3188, allocations: 11.94 kB / 433.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.3189, allocations: 15.92 kB / 433.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.3189, allocations: 0 / 433.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.3189, allocations: 4 kB / 433.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.3189, allocations: 15.92 kB / 433.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.319, allocations: 23.8 kB / 433.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.3191, allocations: 35.78 kB / 433.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3191, allocations: 0 / 433.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3191, allocations: 4 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.3191, allocations: 0 / 433.7 MB, free: 4.605 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.000411/0.3195, allocations: 282.1 kB / 434 MB, free: 4.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3195, allocations: 12.03 kB / 434 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.282e-05/0.3195, allocations: 4.188 kB / 434 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.3196, allocations: 34.73 kB / 434.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.3196, allocations: 12.89 kB / 434.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3198, allocations: 134.4 kB / 434.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-06/0.3198, allocations: 384 / 434.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3198, allocations: 8.312 kB / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.32, allocations: 97.36 kB / 434.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.32, allocations: 0 / 434.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3201, allocations: 0 / 434.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3201, allocations: 0 / 434.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.3201, allocations: 23.92 kB / 434.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.3204, allocations: 232.8 kB / 434.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.3205, allocations: 37.16 kB / 434.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.3205, allocations: 25.77 kB / 434.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3206, allocations: 0 / 434.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3206, allocations: 30.56 kB / 434.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.3206, allocations: 3.938 kB / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002339/0.3208, allocations: 65.7 kB / 434.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.3209, allocations: 81.11 kB / 434.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.321, allocations: 136.7 kB / 434.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.321, allocations: 25.7 kB / 435 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.3211, allocations: 92.08 kB / 435.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.3211, allocations: 0 / 435.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.3211, allocations: 21.7 kB / 435.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3212, allocations: 314.8 kB / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.3213, allocations: 4 kB / 435.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.3213, allocations: 25.86 kB / 435.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.469e-05/0.3214, allocations: 29.64 kB / 435.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3214, allocations: 0 / 435.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.3215, allocations: 53.58 kB / 435.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3215, allocations: 8 kB / 435.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3215, allocations: 0 / 435.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3215, allocations: 0 / 435.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.3216, allocations: 12.11 kB / 435.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3216, allocations: 0 / 435.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.3216, allocations: 4 kB / 435.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.3216, allocations: 0 / 435.5 MB, free: 2.59 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 8.819e-05/0.3217, allocations: 121.8 kB / 435.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.3218, allocations: 45.58 kB / 435.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.3218, allocations: 11.77 kB / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3218, allocations: 0 / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3218, allocations: 0 / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3218, allocations: 4.016 kB / 435.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.322, allocations: 152.6 kB / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.322, allocations: 0 / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.322, allocations: 8 kB / 435.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.322, allocations: 0 / 435.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.322, allocations: 3.938 kB / 435.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.322, allocations: 4 kB / 435.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.322, allocations: 0 / 435.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.3222, allocations: 160.2 kB / 436 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.3222, allocations: 15.95 kB / 436 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3222, allocations: 4.031 kB / 436 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.3223, allocations: 7.984 kB / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.3223, allocations: 0 / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3223, allocations: 0 / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.3224, allocations: 103.3 kB / 436.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3224, allocations: 0 / 436.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.3226, allocations: 4 kB / 436.2 MB, free: 1.879 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.0004602/0.3231, allocations: 0.6898 MB / 436.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.3232, allocations: 23.98 kB / 436.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3232, allocations: 0 / 436.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.3232, allocations: 8 kB / 436.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.3235, allocations: 23.08 kB / 436.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3247, allocations: 1.264 MB / 438.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.028e-05/0.3248, allocations: 71.33 kB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.973e-05/0.3248, allocations: 0 / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.3249, allocations: 15.44 kB / 438.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3249, allocations: 0 / 438.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.347, allocations: 1.573 MB / 439.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.12, allocations: 7.375 kB / 439.8 MB, free: 14.19 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.711262442055158] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 11.282235510996543 11.30834605 10.984232094 Calling exit ...