Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001403/0.001403, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001481/0.001481, allocations: 221.2 kB / 22.92 MB, free: 5.535 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.5 MB / 256.4 MB, free: 8.434 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.Electrical.Analog.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SeriesResonance",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.001756/0.001756, allocations: 63.89 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2258, allocations: 53.31 MB / 429.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003674/0.2295, allocations: 2.94 MB / 432.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2306, allocations: 0.7244 MB / 433.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.2307, allocations: 4 kB / 433.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.2309, allocations: 67.36 kB / 433.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.231, allocations: 83.2 kB / 433.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.2313, allocations: 91.88 kB / 433.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.2316, allocations: 374.4 kB / 433.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.2318, allocations: 109.4 kB / 433.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.2321, allocations: 151.5 kB / 433.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.2322, allocations: 155.3 kB / 434.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.2323, allocations: 32 kB / 434.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.353e-05/0.2323, allocations: 32 kB / 434.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.2324, allocations: 71.77 kB / 434.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2326, allocations: 175.1 kB / 434.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.2329, allocations: 378.8 kB / 434.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2329, allocations: 7.984 kB / 434.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2329, allocations: 0 / 434.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2329, allocations: 0 / 434.8 MB, free: 2.047 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008676/0.2338, allocations: 0.6079 MB / 435.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2338, allocations: 12.03 kB / 435.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.295e-05/0.2339, allocations: 70.66 kB / 435.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.234, allocations: 40.7 kB / 435.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2343, allocations: 263.8 kB / 435.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2343, allocations: 25.03 kB / 435.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.2343, allocations: 36.36 kB / 435.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.2348, allocations: 282.2 kB / 436.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2349, allocations: 0 / 436.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.2349, allocations: 12 kB / 436.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2349, allocations: 8 kB / 436.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.2353, allocations: 198.5 kB / 436.3 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.2367, allocations: 0.9833 MB / 437.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.237, allocations: 154.6 kB / 437.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.2371, allocations: 79.78 kB / 437.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2371, allocations: 0 / 437.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2372, allocations: 34.56 kB / 437.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 8.82e-07/0.2372, allocations: 7.938 kB / 437.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005356/0.2377, allocations: 209.7 kB / 437.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2377, allocations: 59.39 kB / 437.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2379, allocations: 206.8 kB / 438 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.2379, allocations: 29.7 kB / 438.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2381, allocations: 196.3 kB / 438.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.2381, allocations: 71.41 kB / 438.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.2382, allocations: 49.66 kB / 438.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2383, allocations: 330.8 kB / 438.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.2385, allocations: 63.95 kB / 438.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2387, allocations: 117.9 kB / 438.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.239, allocations: 185.8 kB / 439 MB, free: 13.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.239, allocations: 0 / 439 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004329/0.2394, allocations: 245.2 kB / 439.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2394, allocations: 8 kB / 439.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2394, allocations: 0 / 439.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2394, allocations: 4 kB / 439.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.2397, allocations: 59.97 kB / 439.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.2397, allocations: 15.86 kB / 439.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.2398, allocations: 19.89 kB / 439.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2399, allocations: 11.94 kB / 439.4 MB, free: 13.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.0001217/0.24, allocations: 145.8 kB / 439.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.24, allocations: 23.84 kB / 439.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.2404, allocations: 187.4 kB / 439.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2404, allocations: 4.047 kB / 439.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2404, allocations: 3.984 kB / 439.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2404, allocations: 3.984 kB / 439.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.2407, allocations: 317.4 kB / 440.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2407, allocations: 4 kB / 440.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.241, allocations: 59.89 kB / 440.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.241, allocations: 0 / 440.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.241, allocations: 4 kB / 440.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.241, allocations: 7.984 kB / 440.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.241, allocations: 0 / 440.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.2416, allocations: 347.2 kB / 440.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.2416, allocations: 100.9 kB / 440.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.2417, allocations: 4.062 kB / 440.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.2418, allocations: 15.98 kB / 440.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.2419, allocations: 19.91 kB / 440.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2419, allocations: 4 kB / 440.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.242, allocations: 152.6 kB / 440.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.242, allocations: 0 / 440.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000287/0.2423, allocations: 75.78 kB / 440.8 MB, free: 11.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * 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 (19): * Single equations (assignments): 19 * 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.0008063/0.2431, allocations: 0.886 MB / 441.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.2435, allocations: 151.9 kB / 441.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2435, allocations: 0 / 441.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.2436, allocations: 78.95 kB / 442 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2439, allocations: 27.94 kB / 442 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.2471, allocations: 2.724 MB / 444.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.2474, allocations: 0.7632 MB / 445.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.084e-05/0.2475, allocations: 17.95 kB / 445.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2476, allocations: 95.41 kB / 445.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2476, allocations: 0 / 445.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.2747, allocations: 4.533 MB / 450.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.376, allocations: 2.234 kB / 450.1 MB, free: 2.234 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SeriesResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.470403772997088]