Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.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.001378/0.001378, allocations: 105.7 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.001539/0.001539, allocations: 214.7 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.279/1.279, 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.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Modulation",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.001697/0.001697, allocations: 67.83 kB / 376.1 MB, free: 4.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2296, allocations: 53.31 MB / 429.4 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003083/0.2327, allocations: 2.032 MB / 431.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009954/0.2337, allocations: 0.6466 MB / 432.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.2338, allocations: 3.938 kB / 432.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.2339, allocations: 39.59 kB / 432.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.235e-05/0.234, allocations: 43.58 kB / 432.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.2343, allocations: 87.72 kB / 432.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.2345, allocations: 207.2 kB / 432.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2346, allocations: 52.38 kB / 432.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2348, allocations: 79.64 kB / 432.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2349, allocations: 83.5 kB / 432.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.2349, allocations: 15.94 kB / 432.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.235, allocations: 16 kB / 432.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.235, allocations: 35.84 kB / 432.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.041e-05/0.2351, allocations: 83.47 kB / 432.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2353, allocations: 183.8 kB / 433 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2353, allocations: 0 / 433 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2353, allocations: 0 / 433 MB, free: 4.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2353, allocations: 4 kB / 433 MB, free: 4.023 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006536/0.236, allocations: 0.4983 MB / 433.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.236, allocations: 8.031 kB / 433.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.2361, allocations: 46.73 kB / 433.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.2363, allocations: 44.77 kB / 433.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.2366, allocations: 251.8 kB / 433.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2366, allocations: 12.38 kB / 433.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.2366, allocations: 16.38 kB / 433.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.2369, allocations: 164.3 kB / 434 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2369, allocations: 0 / 434 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2369, allocations: 4 kB / 434 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2369, allocations: 4 kB / 434 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2372, allocations: 99.83 kB / 434.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008822/0.238, allocations: 0.6412 MB / 434.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.2383, allocations: 127.8 kB / 434.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.2384, allocations: 54.69 kB / 434.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2384, allocations: 4 kB / 434.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.2384, allocations: 42.55 kB / 435 MB, free: 1.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.2384, allocations: 0 / 435 MB, free: 1.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004677/0.2389, allocations: 177.4 kB / 435.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.239, allocations: 106.8 kB / 435.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.2392, allocations: 234.6 kB / 435.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2392, allocations: 29.7 kB / 435.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.2393, allocations: 140.1 kB / 435.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.2394, allocations: 51.58 kB / 435.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.2394, allocations: 33.7 kB / 435.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2396, allocations: 334.8 kB / 436.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.2397, allocations: 35.97 kB / 436.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.2398, allocations: 101.7 kB / 436.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.2401, allocations: 146.7 kB / 436.3 MB, free: 344 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2401, allocations: 3.938 kB / 436.3 MB, free: 340 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003298/0.2404, allocations: 177.3 kB / 436.5 MB, free: 156 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2405, allocations: 11.98 kB / 436.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2405, allocations: 3.938 kB / 436.5 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2405, allocations: 8.188 kB / 436.5 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2406, allocations: 35.92 kB / 436.6 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2406, allocations: 0 / 436.6 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2407, allocations: 23.88 kB / 436.6 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.2407, allocations: 4 kB / 436.6 MB, free: 68 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 17 * 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 0.0001231/0.2409, allocations: 137.7 kB / 436.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.2409, allocations: 23.8 kB / 436.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.2413, allocations: 186.8 kB / 436.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2413, allocations: 4.562 kB / 436.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2413, allocations: 0 / 436.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2413, allocations: 0 / 436.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.2418, allocations: 273.4 kB / 437.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2418, allocations: 4 kB / 437.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.2419, allocations: 35.91 kB / 437.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2419, allocations: 7.938 kB / 437.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.242, allocations: 4 kB / 437.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.242, allocations: 8 kB / 437.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.242, allocations: 0 / 437.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.2425, allocations: 469.7 kB / 437.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.2425, allocations: 104.8 kB / 437.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.2426, allocations: 12.06 kB / 437.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.2427, allocations: 4 kB / 437.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.2428, allocations: 16.02 kB / 437.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2428, allocations: 15.97 kB / 437.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.243, allocations: 174 kB / 438 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.243, allocations: 0 / 438 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.2433, allocations: 28 kB / 438.1 MB, free: 14.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * 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 (17): * Single equations (assignments): 17 * 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.0008064/0.2441, allocations: 1.003 MB / 439.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.2443, allocations: 111.9 kB / 439.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2444, allocations: 0 / 439.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.2445, allocations: 63.84 kB / 439.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.2448, allocations: 28.48 kB / 439.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.2478, allocations: 2.577 MB / 441.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.2481, allocations: 0.7397 MB / 442.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.2482, allocations: 25.53 kB / 442.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.2483, allocations: 79.34 kB / 442.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2483, allocations: 0 / 442.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.275, allocations: 3.673 MB / 446.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/7.439, allocations: 11.23 kB / 446.4 MB, free: 6.082 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Modulation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Modulation.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.542562021000776]