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.TimeBasedSine.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.001181/0.001181, allocations: 109 kB / 19.74 MB, free: 2.586 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.001365/0.001365, allocations: 215 kB / 22.92 MB, free: 5.559 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.294/1.294, allocations: 230.4 MB / 256.4 MB, free: 8.301 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.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",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.001901/0.001901, allocations: 71.83 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2212, allocations: 53.31 MB / 429.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002499/0.2237, allocations: 1.522 MB / 430.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.2245, allocations: 478.8 kB / 431.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.2246, allocations: 3.938 kB / 431.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.2246, allocations: 11.92 kB / 431.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.2246, allocations: 7.875 kB / 431.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.2249, allocations: 27.91 kB / 431.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.357e-05/0.225, allocations: 35.92 kB / 431.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.2251, allocations: 19.97 kB / 431.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2252, allocations: 23.88 kB / 431.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.2252, allocations: 15.92 kB / 431.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2252, allocations: 4 kB / 431.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.436e-05/0.2253, allocations: 4 kB / 431.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.2253, allocations: 19.91 kB / 431.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.2253, allocations: 11.94 kB / 431.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.2254, allocations: 44.19 kB / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2255, allocations: 0 / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2255, allocations: 0 / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2255, allocations: 0 / 431.6 MB, free: 5.254 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004275/0.2259, allocations: 355.3 kB / 432 MB, free: 4.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2259, allocations: 8.031 kB / 432 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.226, allocations: 34.75 kB / 432 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.2261, allocations: 12.92 kB / 432 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.2263, allocations: 188.2 kB / 432.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.2263, allocations: 4.375 kB / 432.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2263, allocations: 4.375 kB / 432.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.2266, allocations: 115.4 kB / 432.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2266, allocations: 0 / 432.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.2266, allocations: 0 / 432.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2266, allocations: 4 kB / 432.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.065e-05/0.2267, allocations: 23.92 kB / 432.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.2268, allocations: 165.6 kB / 432.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.227, allocations: 50.55 kB / 432.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.227, allocations: 28.92 kB / 432.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.2271, allocations: 0 / 432.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2271, allocations: 38.5 kB / 432.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.395e-06/0.2271, allocations: 7.984 kB / 432.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00022/0.2273, allocations: 73.61 kB / 432.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.2274, allocations: 63.34 kB / 432.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.2274, allocations: 105.8 kB / 432.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2275, allocations: 29.7 kB / 432.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.2275, allocations: 88.12 kB / 433 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.2275, allocations: 0 / 433 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.2275, allocations: 17.72 kB / 433 MB, free: 3.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2277, allocations: 314.8 kB / 433.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.2277, allocations: 4 kB / 433.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.2277, allocations: 35.36 kB / 433.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.2277, allocations: 31.44 kB / 433.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2277, allocations: 4 kB / 433.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.835e-05/0.2278, allocations: 65.45 kB / 433.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2278, allocations: 4 kB / 433.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2278, allocations: 0 / 433.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2279, allocations: 4.375 kB / 433.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.2279, allocations: 4 kB / 433.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.2279, allocations: 0 / 433.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.2279, allocations: 8.125 kB / 433.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.2279, allocations: 3.938 kB / 433.5 MB, free: 3.137 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 7.811e-05/0.228, allocations: 121.8 kB / 433.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2281, allocations: 65.56 kB / 433.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.2281, allocations: 3.906 kB / 433.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2281, allocations: 3.984 kB / 433.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.2281, allocations: 4 kB / 433.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2282, allocations: 0 / 433.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.2283, allocations: 161.6 kB / 433.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2283, allocations: 4 kB / 433.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.2283, allocations: 15.92 kB / 433.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2283, allocations: 0 / 433.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.2283, allocations: 0 / 433.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2283, allocations: 0 / 433.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2283, allocations: 0 / 433.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.2285, allocations: 89.05 kB / 433.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.2285, allocations: 92.98 kB / 434 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2285, allocations: 0 / 434 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.495e-05/0.2286, allocations: 15.94 kB / 434 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-06/0.2286, allocations: 0 / 434 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2286, allocations: 0 / 434 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.404e-05/0.2286, allocations: 91.27 kB / 434.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2286, allocations: 0 / 434.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001753/0.2288, allocations: 4 kB / 434.1 MB, free: 2.363 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0004089/0.2292, allocations: 0.628 MB / 434.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.2293, allocations: 24.41 kB / 434.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2293, allocations: 0 / 434.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2293, allocations: 0 / 434.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.2295, allocations: 24.17 kB / 434.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009485/0.2305, allocations: 1.189 MB / 436 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.2308, allocations: 0.6846 MB / 436.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.039e-05/0.2308, allocations: 4 kB / 436.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2308, allocations: 19.38 kB / 436.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2308, allocations: 0 / 436.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.2543, allocations: 1.304 MB / 438 MB, free: 14.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.245, allocations: 11.44 kB / 438 MB, free: 14.41 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.316785596995032]