Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00115/0.00115, allocations: 105 kB / 19.74 MB, free: 2.453 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.001213/0.001213, allocations: 216.2 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.274/1.274, allocations: 230.4 MB / 256.4 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 67.89 kB / 376.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2142, allocations: 53.3 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002782/0.217, allocations: 1.728 MB / 431.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.2174, allocations: 163.4 kB / 431.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.2175, allocations: 4 kB / 431.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.2175, allocations: 11.86 kB / 431.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2176, allocations: 11.94 kB / 431.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.2179, allocations: 47.83 kB / 431.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.218, allocations: 51.91 kB / 431.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.2181, allocations: 19.98 kB / 431.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.2181, allocations: 23.86 kB / 431.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.2182, allocations: 31.84 kB / 431.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2182, allocations: 4 kB / 431.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.2182, allocations: 4 kB / 431.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.2182, allocations: 15.92 kB / 431.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.2183, allocations: 31.75 kB / 431.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.2184, allocations: 76.02 kB / 431.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2184, allocations: 4 kB / 431.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2184, allocations: 0 / 431.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2184, allocations: 0 / 431.6 MB, free: 5.215 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.0004773/0.2189, allocations: 395 kB / 432 MB, free: 4.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.2189, allocations: 8.031 kB / 432 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.219, allocations: 38.75 kB / 432.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.219, allocations: 8.891 kB / 432.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.2192, allocations: 208.1 kB / 432.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2192, allocations: 8.312 kB / 432.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.2192, allocations: 4.375 kB / 432.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.2196, allocations: 166.3 kB / 432.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2196, allocations: 7.938 kB / 432.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.2196, allocations: 0 / 432.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2196, allocations: 4 kB / 432.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.2197, allocations: 39.91 kB / 432.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.2201, allocations: 365.8 kB / 432.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.2203, allocations: 115.8 kB / 433 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.913e-05/0.2204, allocations: 54.67 kB / 433 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2204, allocations: 4 kB / 433 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2205, allocations: 38.56 kB / 433.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2205, allocations: 3.938 kB / 433.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003059/0.2208, allocations: 121.7 kB / 433.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.2208, allocations: 106.8 kB / 433.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.221, allocations: 134.1 kB / 433.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.221, allocations: 33.7 kB / 433.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.221, allocations: 92.12 kB / 433.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.221, allocations: 7.891 kB / 433.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.2211, allocations: 29.67 kB / 433.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2212, allocations: 326.8 kB / 433.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.2213, allocations: 15.98 kB / 433.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.2214, allocations: 79.59 kB / 434 MB, free: 2.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2215, allocations: 91.59 kB / 434.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2215, allocations: 0 / 434.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.2217, allocations: 109.5 kB / 434.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2217, allocations: 6.812 kB / 434.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2217, allocations: 7.984 kB / 434.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2217, allocations: 0 / 434.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.2218, allocations: 16 kB / 434.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2218, allocations: 7.938 kB / 434.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.2218, allocations: 11.94 kB / 434.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2218, allocations: 4 kB / 434.2 MB, free: 2.254 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 9.893e-05/0.2219, allocations: 130.1 kB / 434.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.2221, allocations: 77.58 kB / 434.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.2221, allocations: 8.906 kB / 434.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2221, allocations: 7.984 kB / 434.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2221, allocations: 3.938 kB / 434.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2221, allocations: 0 / 434.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.2223, allocations: 189.5 kB / 434.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2223, allocations: 0 / 434.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.2224, allocations: 19.98 kB / 434.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2224, allocations: 4 kB / 434.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.2224, allocations: 0 / 434.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.2224, allocations: 4 kB / 434.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2224, allocations: 0 / 434.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.2228, allocations: 316.2 kB / 435 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.2229, allocations: 105 kB / 435.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.2229, allocations: 0 / 435.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.223, allocations: 4 kB / 435.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.223, allocations: 4 kB / 435.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.223, allocations: 4 kB / 435.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.654e-05/0.2231, allocations: 107.2 kB / 435.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2231, allocations: 0 / 435.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.2233, allocations: 8 kB / 435.2 MB, free: 1.172 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.00062/0.2239, allocations: 0.846 MB / 436.1 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.2241, allocations: 67.83 kB / 436.1 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2241, allocations: 4 kB / 436.1 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.2242, allocations: 7.938 kB / 436.1 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.2246, allocations: 54.64 kB / 436.2 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.2261, allocations: 1.589 MB / 437.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.2264, allocations: 0.704 MB / 438.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.2264, allocations: 4.672 kB / 438.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.2265, allocations: 23.42 kB / 438.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2265, allocations: 0 / 438.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.2494, allocations: 1.856 MB / 440.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.237, allocations: 10.72 kB / 440.4 MB, free: 11.9 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.267829296004493]