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.BackSample.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.001136/0.001136, 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.001311/0.001311, allocations: 219.8 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.298/1.298, allocations: 230.4 MB / 256.4 MB, free: 8.262 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.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.001823/0.001823, allocations: 71.83 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2223, allocations: 53.3 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002646/0.2249, allocations: 1.651 MB / 431.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.2259, allocations: 0.592 MB / 431.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.226, allocations: 4 kB / 431.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.747e-05/0.226, allocations: 11.86 kB / 431.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.2261, allocations: 11.88 kB / 431.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2264, allocations: 70.61 kB / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2265, allocations: 55.84 kB / 431.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.2266, allocations: 12.17 kB / 431.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2267, allocations: 43.83 kB / 431.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.2268, allocations: 23.86 kB / 431.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2268, allocations: 4 kB / 431.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.2269, allocations: 8 kB / 431.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.2269, allocations: 15.94 kB / 431.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.2269, allocations: 35.73 kB / 431.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.2271, allocations: 72.02 kB / 432 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2271, allocations: 7.984 kB / 432 MB, free: 4.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2271, allocations: 0 / 432 MB, free: 4.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.2271, allocations: 0 / 432 MB, free: 4.824 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004642/0.2276, allocations: 387 kB / 432.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2276, allocations: 15.97 kB / 432.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.2276, allocations: 38.73 kB / 432.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.2278, allocations: 20.84 kB / 432.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.228, allocations: 216.1 kB / 432.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.228, allocations: 4.312 kB / 432.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.228, allocations: 8.375 kB / 432.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.2283, allocations: 142.8 kB / 432.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2283, allocations: 0 / 432.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.2283, allocations: 0 / 432.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2283, allocations: 0 / 432.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.2284, allocations: 31.92 kB / 432.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2287, allocations: 295.4 kB / 433.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.2289, allocations: 90.42 kB / 433.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.229, allocations: 47.42 kB / 433.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.229, allocations: 3.984 kB / 433.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.229, allocations: 38.56 kB / 433.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.229, allocations: 0 / 433.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002792/0.2293, allocations: 105.5 kB / 433.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.2294, allocations: 133 kB / 433.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2295, allocations: 154.2 kB / 433.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2295, allocations: 25.7 kB / 433.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.2296, allocations: 92.08 kB / 433.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.2296, allocations: 11.94 kB / 433.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2296, allocations: 17.72 kB / 433.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2298, allocations: 326.8 kB / 434.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/0.2298, allocations: 8 kB / 434.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.2299, allocations: 53.14 kB / 434.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.23, allocations: 65.08 kB / 434.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.23, allocations: 0 / 434.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001528/0.2301, allocations: 85.5 kB / 434.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2301, allocations: 4 kB / 434.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2301, allocations: 4 kB / 434.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2302, allocations: 4.25 kB / 434.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.2302, allocations: 27.92 kB / 434.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2302, allocations: 0 / 434.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.2303, allocations: 4 kB / 434.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.2303, allocations: 4 kB / 434.4 MB, free: 2.062 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.119e-05/0.2304, allocations: 125.7 kB / 434.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2305, allocations: 73.53 kB / 434.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.2305, allocations: 11.83 kB / 434.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2305, allocations: 12.03 kB / 434.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2305, allocations: 0 / 434.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2305, allocations: 4 kB / 434.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.2307, allocations: 181.6 kB / 434.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2307, allocations: 0 / 434.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.655e-05/0.2308, allocations: 19.92 kB / 434.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2308, allocations: 0 / 434.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2308, allocations: 0 / 434.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2308, allocations: 4 kB / 434.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2308, allocations: 0 / 434.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.231, allocations: 198 kB / 435 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.2311, allocations: 93.05 kB / 435.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2311, allocations: 7.984 kB / 435.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.2312, allocations: 7.938 kB / 435.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.2312, allocations: 4 kB / 435.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2312, allocations: 4 kB / 435.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.177e-05/0.2313, allocations: 118.1 kB / 435.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2313, allocations: 0 / 435.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.2315, allocations: 8 kB / 435.3 MB, free: 1.094 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0004809/0.232, allocations: 0.7461 MB / 436 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.2321, allocations: 35.92 kB / 436.1 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2321, allocations: 0 / 436.1 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.2322, allocations: 20.36 kB / 436.1 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.2325, allocations: 44.08 kB / 436.1 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.234, allocations: 1.49 MB / 437.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.2343, allocations: 0.7079 MB / 438.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.2343, allocations: 4.672 kB / 438.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.2344, allocations: 23.42 kB / 438.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2344, allocations: 4 kB / 438.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.2584, allocations: 2.065 MB / 440.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.214, allocations: 4.062 kB / 440.4 MB, free: 11.86 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.282784376999189]