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.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.001417/0.001417, 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.00157/0.00157, allocations: 216.9 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.278/1.278, allocations: 230.5 MB / 256.4 MB, free: 8.258 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.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",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.001837/0.001837, allocations: 71.88 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2047, allocations: 53.3 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002652/0.2073, allocations: 1.581 MB / 431 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003577/0.2077, allocations: 139.5 kB / 431.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.2077, allocations: 0 / 431.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.2078, allocations: 3.938 kB / 431.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2079, allocations: 7.938 kB / 431.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.2081, allocations: 43.14 kB / 431.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.2082, allocations: 35.86 kB / 431.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.173e-05/0.2082, allocations: 11.98 kB / 431.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.2083, allocations: 7.938 kB / 431.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.2083, allocations: 19.86 kB / 431.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.2083, allocations: 4 kB / 431.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.2083, allocations: 0 / 431.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.2084, allocations: 15.94 kB / 431.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.975e-05/0.2084, allocations: 27.8 kB / 431.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.2085, allocations: 48.17 kB / 431.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2085, allocations: 0 / 431.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2085, allocations: 0 / 431.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2085, allocations: 0 / 431.3 MB, free: 5.5 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.0004368/0.209, allocations: 367.2 kB / 431.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.209, allocations: 12.03 kB / 431.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.209, allocations: 34.75 kB / 431.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.2091, allocations: 12.89 kB / 431.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.2093, allocations: 196.2 kB / 432 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.2093, allocations: 8.312 kB / 432 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2093, allocations: 4.375 kB / 432 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.2096, allocations: 121.6 kB / 432.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2096, allocations: 3.938 kB / 432.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.2096, allocations: 0 / 432.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2096, allocations: 0 / 432.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.2097, allocations: 23.92 kB / 432.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.21, allocations: 257.8 kB / 432.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2102, allocations: 150.2 kB / 432.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.062e-05/0.2103, allocations: 29.7 kB / 432.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2103, allocations: 4 kB / 432.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2103, allocations: 30.56 kB / 432.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2103, allocations: 4 kB / 432.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002285/0.2106, allocations: 77.56 kB / 432.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.2106, allocations: 85.09 kB / 432.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2107, allocations: 127 kB / 432.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2108, allocations: 33.7 kB / 432.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.2108, allocations: 80.14 kB / 433 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.2108, allocations: 8.078 kB / 433 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.2108, allocations: 17.72 kB / 433 MB, free: 3.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.211, allocations: 322.8 kB / 433.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.211, allocations: 4 kB / 433.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/0.2111, allocations: 39.36 kB / 433.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.461e-05/0.2111, allocations: 47.42 kB / 433.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2111, allocations: 3.938 kB / 433.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001229/0.2113, allocations: 69.55 kB / 433.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2113, allocations: 4 kB / 433.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2113, allocations: 128 / 433.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2113, allocations: 8 kB / 433.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.2113, allocations: 4 kB / 433.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2114, allocations: 4 kB / 433.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.2114, allocations: 3.953 kB / 433.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2114, allocations: 7.984 kB / 433.5 MB, free: 3.027 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.367e-05/0.2115, allocations: 117.8 kB / 433.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.2115, allocations: 49.62 kB / 433.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.2116, allocations: 12.25 kB / 433.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2116, allocations: 7.938 kB / 433.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2116, allocations: 0 / 433.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2116, allocations: 0 / 433.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.2118, allocations: 177.5 kB / 433.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2118, allocations: 0 / 433.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.2118, allocations: 11.98 kB / 433.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2118, allocations: 0 / 433.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.2118, allocations: 0 / 433.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2118, allocations: 0 / 433.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2118, allocations: 0 / 433.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.212, allocations: 176.2 kB / 434 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.2121, allocations: 89.47 kB / 434.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.2121, allocations: 0 / 434.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.2121, allocations: 4 kB / 434.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2122, allocations: 0 / 434.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2122, allocations: 7.938 kB / 434.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.595e-05/0.2123, allocations: 114.1 kB / 434.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2123, allocations: 0 / 434.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.2125, allocations: 8 kB / 434.3 MB, free: 2.156 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.0004595/0.2129, allocations: 0.7014 MB / 435 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.2131, allocations: 35.92 kB / 435 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2131, allocations: 0 / 435 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.2131, allocations: 7.984 kB / 435 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.2134, allocations: 20.03 kB / 435 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2146, allocations: 1.33 MB / 436.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.2149, allocations: 0.6924 MB / 437 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.365e-05/0.215, allocations: 4 kB / 437 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.215, allocations: 15.44 kB / 437.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of SimCode: time 4.7e-07/0.215, allocations: 0 / 437.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.2377, allocations: 1.459 MB / 438.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/7.113, allocations: 7.516 kB / 438.5 MB, free: 13.81 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.150541372997395]