Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001514/0.001514, 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.00164/0.00164, allocations: 207.4 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.659/1.659, 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.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 59.91 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4143, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003457/0.4178, allocations: 1.718 MB / 433.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000526/0.4183, allocations: 167.4 kB / 433.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.4184, allocations: 7.938 kB / 433.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.349e-05/0.4185, allocations: 7.922 kB / 433.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.4186, allocations: 15.88 kB / 433.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.4189, allocations: 39.89 kB / 433.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.419, allocations: 51.84 kB / 434 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4192, allocations: 31.91 kB / 434 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.4192, allocations: 19.92 kB / 434 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.4193, allocations: 23.86 kB / 434.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.4193, allocations: 4 kB / 434.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.4194, allocations: 12 kB / 434.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.4194, allocations: 19.92 kB / 434.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.4195, allocations: 27.75 kB / 434.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.4196, allocations: 68.5 kB / 434.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4197, allocations: 4 kB / 434.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4197, allocations: 0 / 434.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.4197, allocations: 0 / 434.2 MB, free: 4.473 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005667/0.4202, allocations: 317.9 kB / 434.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4203, allocations: 8.031 kB / 434.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.538e-05/0.4203, allocations: 16 kB / 434.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.4203, allocations: 38.75 kB / 434.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.4204, allocations: 8.891 kB / 434.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.4207, allocations: 145 kB / 434.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.4207, allocations: 12.38 kB / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.4207, allocations: 4.375 kB / 434.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.4212, allocations: 170 kB / 434.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4212, allocations: 0 / 434.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4212, allocations: 8 kB / 434.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4212, allocations: 0 / 434.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.4213, allocations: 35.92 kB / 434.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.4219, allocations: 340.9 kB / 435.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.4223, allocations: 108 kB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4224, allocations: 58.5 kB / 435.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.4224, allocations: 0 / 435.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.4225, allocations: 30.56 kB / 435.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.4225, allocations: 4 kB / 435.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004428/0.4229, allocations: 129.7 kB / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.423, allocations: 106.8 kB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.4232, allocations: 137.8 kB / 435.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.4232, allocations: 33.7 kB / 435.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.4234, allocations: 88.08 kB / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.4234, allocations: 11.89 kB / 436 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.4235, allocations: 25.95 kB / 436 MB, free: 2.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.4237, allocations: 326.8 kB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.4238, allocations: 11.98 kB / 436.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.4239, allocations: 67.72 kB / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.4241, allocations: 95.59 kB / 436.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4241, allocations: 0 / 436.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002377/0.4243, allocations: 113.4 kB / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.4244, allocations: 4 kB / 436.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4244, allocations: 7.938 kB / 436.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.4244, allocations: 4.281 kB / 436.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.4245, allocations: 23.98 kB / 436.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.4245, allocations: 4 kB / 436.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.4246, allocations: 8.141 kB / 436.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4246, allocations: 4 kB / 436.6 MB, free: 1.711 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.000176/0.4248, allocations: 137.6 kB / 436.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.4249, allocations: 69.66 kB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.425, allocations: 16.7 kB / 436.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.425, allocations: 0 / 436.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.425, allocations: 4 kB / 436.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.425, allocations: 4 kB / 436.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.4253, allocations: 160.6 kB / 437 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4253, allocations: 0 / 437 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.4254, allocations: 23.92 kB / 437 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4254, allocations: 0 / 437 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.4254, allocations: 4 kB / 437.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.4255, allocations: 4 kB / 437.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4255, allocations: 0 / 437.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.426, allocations: 324.2 kB / 437.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.4261, allocations: 23.88 kB / 437.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.4261, allocations: 4 kB / 437.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.4262, allocations: 0 / 437.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.4263, allocations: 12 kB / 437.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.4263, allocations: 4 kB / 437.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.4264, allocations: 109.4 kB / 437.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4264, allocations: 0 / 437.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.4267, allocations: 11.94 kB / 437.5 MB, free: 0.7344 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0009454/0.4277, allocations: 0.8382 MB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.4279, allocations: 59.84 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.4279, allocations: 0.5625 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.428, allocations: 12 kB / 438.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.4286, allocations: 52 kB / 438.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.4307, allocations: 1.577 MB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4311, allocations: 0.7079 MB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.4312, allocations: 12.66 kB / 440.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.4312, allocations: 19.44 kB / 440.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4312, allocations: 3.938 kB / 440.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.4579, allocations: 2.062 MB / 442.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.68, allocations: 6.656 kB / 442.9 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.468431729008444] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 11.840131053002551 11.862226667 11.437919495 Calling exit ...