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.SubSample.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.001449/0.001449, allocations: 109 kB / 19.74 MB, free: 2.582 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.001627/0.001627, allocations: 216.1 kB / 22.92 MB, free: 5.562 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.301/1.301, allocations: 230.4 MB / 256.4 MB, free: 8.277 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.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",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.001784/0.001784, allocations: 71.83 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2173, allocations: 53.31 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002628/0.2199, allocations: 1.612 MB / 431 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.2209, allocations: 0.5454 MB / 431.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.2209, allocations: 0 / 431.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.221, allocations: 3.938 kB / 431.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.2211, allocations: 19.8 kB / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.2214, allocations: 63.8 kB / 431.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2215, allocations: 43.86 kB / 431.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.2216, allocations: 12.17 kB / 431.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.2217, allocations: 39.84 kB / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.2217, allocations: 23.8 kB / 431.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2218, allocations: 4 kB / 431.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.545e-05/0.2218, allocations: 4 kB / 431.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.2218, allocations: 11.94 kB / 431.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.2219, allocations: 35.73 kB / 431.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.222, allocations: 60.16 kB / 431.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.222, allocations: 0 / 431.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.222, allocations: 0 / 431.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.222, allocations: 0 / 431.9 MB, free: 4.965 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004994/0.2225, allocations: 387 kB / 432.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2225, allocations: 8.031 kB / 432.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.2226, allocations: 42.73 kB / 432.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.2227, allocations: 12.89 kB / 432.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.223, allocations: 208.7 kB / 432.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.223, allocations: 8.125 kB / 432.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.223, allocations: 8 kB / 432.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.2233, allocations: 109.9 kB / 432.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2233, allocations: 0 / 432.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.2233, allocations: 4 kB / 432.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2233, allocations: 0 / 432.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.2234, allocations: 31.92 kB / 432.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.2237, allocations: 266.6 kB / 432.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2238, allocations: 71.78 kB / 433 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.2238, allocations: 30.62 kB / 433 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.2239, allocations: 4 kB / 433 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.2239, allocations: 34.56 kB / 433.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.2239, allocations: 7.922 kB / 433.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002554/0.2242, allocations: 89.52 kB / 433.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.2242, allocations: 110.8 kB / 433.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.2243, allocations: 145.7 kB / 433.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2244, allocations: 29.7 kB / 433.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.2244, allocations: 88.12 kB / 433.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.2244, allocations: 4.375 kB / 433.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.2245, allocations: 25.61 kB / 433.6 MB, free: 3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2246, allocations: 322.8 kB / 433.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.913e-05/0.2246, allocations: 4 kB / 433.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.2247, allocations: 39.36 kB / 433.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.2248, allocations: 47.42 kB / 434 MB, free: 2.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2248, allocations: 0 / 434 MB, free: 2.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001401/0.2249, allocations: 73.55 kB / 434 MB, free: 2.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2249, allocations: 4 kB / 434.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2249, allocations: 128 / 434.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2249, allocations: 11.94 kB / 434.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.225, allocations: 8 kB / 434.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.225, allocations: 3.938 kB / 434.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.2251, allocations: 7.984 kB / 434.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.2251, allocations: 0 / 434.1 MB, free: 2.449 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 8.332e-05/0.2251, allocations: 117.8 kB / 434.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.2252, allocations: 57.59 kB / 434.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.2253, allocations: 15.94 kB / 434.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2253, allocations: 0 / 434.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2253, allocations: 3.938 kB / 434.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.2253, allocations: 4 kB / 434.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.2255, allocations: 177.6 kB / 434.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2255, allocations: 4 kB / 434.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.2255, allocations: 7.938 kB / 434.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2255, allocations: 4 kB / 434.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2255, allocations: 3.984 kB / 434.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2255, allocations: 0 / 434.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.2255, allocations: 7.938 kB / 434.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.2257, allocations: 177.2 kB / 434.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.2258, allocations: 93.05 kB / 434.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.2258, allocations: 0 / 434.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.2259, allocations: 4 kB / 434.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.2259, allocations: 7.938 kB / 434.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2259, allocations: 8 kB / 434.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.406e-05/0.226, allocations: 113.6 kB / 434.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.226, allocations: 0 / 434.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.2262, allocations: 12 kB / 434.9 MB, free: 1.535 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 (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.0004793/0.2267, allocations: 0.7102 MB / 435.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.2269, allocations: 31.92 kB / 435.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2269, allocations: 0 / 435.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.2269, allocations: 7.984 kB / 435.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.2272, allocations: 35.53 kB / 435.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.2286, allocations: 1.406 MB / 437.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.2289, allocations: 0.6962 MB / 437.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.373e-05/0.2289, allocations: 4.234 kB / 437.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.229, allocations: 15.42 kB / 437.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.229, allocations: 0 / 437.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.2523, allocations: 1.687 MB / 439.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/7.193, allocations: 7.156 kB / 439.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.301447149002342]