Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001541/0.001541, 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.001914/0.001914, 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.489/1.489, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.83 kB / 378.5 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3031, allocations: 53.39 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003374/0.3064, allocations: 1.572 MB / 433.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003924/0.3068, allocations: 139.5 kB / 433.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.3069, allocations: 7.938 kB / 433.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.307, allocations: 7.875 kB / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.3071, allocations: 11.92 kB / 433.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.3074, allocations: 35.91 kB / 433.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3075, allocations: 31.92 kB / 433.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3076, allocations: 11.98 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.3076, allocations: 15.94 kB / 433.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.3077, allocations: 15.84 kB / 433.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.3077, allocations: 4 kB / 433.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.3077, allocations: 4 kB / 433.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.3077, allocations: 11.98 kB / 433.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.3078, allocations: 15.88 kB / 433.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.3079, allocations: 56.53 kB / 433.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3079, allocations: 0 / 433.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3079, allocations: 3.938 kB / 433.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.308, allocations: 0 / 433.8 MB, free: 4.527 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.0005819/0.3085, allocations: 294.1 kB / 434.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.3086, allocations: 12.03 kB / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.322e-05/0.3086, allocations: 192 / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.233e-05/0.3087, allocations: 42.73 kB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3087, allocations: 4.891 kB / 434.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.309, allocations: 134.4 kB / 434.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3091, allocations: 4.375 kB / 434.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3091, allocations: 384 / 434.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.3095, allocations: 121.3 kB / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3095, allocations: 0 / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3095, allocations: 4 kB / 434.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3095, allocations: 0 / 434.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.3096, allocations: 19.98 kB / 434.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.31, allocations: 236.7 kB / 434.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3103, allocations: 57.2 kB / 434.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.3103, allocations: 29.77 kB / 434.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3104, allocations: 3.984 kB / 434.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3104, allocations: 38.44 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3104, allocations: 7.938 kB / 434.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002479/0.3106, allocations: 81.64 kB / 434.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.3107, allocations: 81.11 kB / 435 MB, free: 3.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3108, allocations: 130.1 kB / 435.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3109, allocations: 25.7 kB / 435.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.3109, allocations: 88.14 kB / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.311, allocations: 3.953 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.311, allocations: 21.7 kB / 435.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3111, allocations: 314.8 kB / 435.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.3112, allocations: 11.98 kB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.3112, allocations: 27.44 kB / 435.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.736e-05/0.3113, allocations: 51.33 kB / 435.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3113, allocations: 0 / 435.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001328/0.3114, allocations: 73.55 kB / 435.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3115, allocations: 6.812 kB / 435.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3115, allocations: 4.125 kB / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3115, allocations: 4 kB / 435.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.3116, allocations: 8 kB / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3116, allocations: 0 / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.893e-05/0.3116, allocations: 11.94 kB / 435.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3116, allocations: 0 / 435.8 MB, free: 2.359 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: 0 () * 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.0001192/0.3117, allocations: 121.8 kB / 435.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.3118, allocations: 45.62 kB / 435.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.3118, allocations: 12.34 kB / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3118, allocations: 4 kB / 435.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3118, allocations: 8 kB / 435.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3119, allocations: 0 / 435.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.312, allocations: 140.6 kB / 436.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.312, allocations: 0 / 436.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.3121, allocations: 12 kB / 436.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3121, allocations: 0 / 436.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3121, allocations: 4 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3121, allocations: 0 / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3121, allocations: 3.984 kB / 436.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.3123, allocations: 164.3 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.3123, allocations: 27.81 kB / 436.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3123, allocations: 4 kB / 436.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.3124, allocations: 0 / 436.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.3124, allocations: 3.984 kB / 436.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3124, allocations: 4 kB / 436.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.773e-05/0.3125, allocations: 106.1 kB / 436.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3125, allocations: 0 / 436.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.3127, allocations: 7.938 kB / 436.4 MB, free: 1.621 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0005098/0.3132, allocations: 0.698 MB / 437.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.3134, allocations: 35.91 kB / 437.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3134, allocations: 0 / 437.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.3134, allocations: 7.938 kB / 437.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3138, allocations: 20.2 kB / 437.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3151, allocations: 1.33 MB / 438.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.085e-05/0.3152, allocations: 71.33 kB / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.842e-05/0.3152, allocations: 0 / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.3153, allocations: 23.36 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3153, allocations: 0 / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.3366, allocations: 1.674 MB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.02, allocations: 18.08 kB / 440.3 MB, free: 13.72 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.61422482400667] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 11.195987744955346 11.219218793 10.906868344 Calling exit ...