Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001189/0.001189, 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.001192/0.001192, allocations: 218.4 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.27/1.27, allocations: 230.5 MB / 256.4 MB, free: 8.426 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.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ResonanceCircuits",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: 67.89 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2209, allocations: 53.32 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006117/0.2271, allocations: 5.43 MB / 434.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.2296, allocations: 1.535 MB / 436.4 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.2299, allocations: 23.88 kB / 436.4 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.2303, allocations: 221.8 kB / 436.6 MB, free: 212 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.2308, allocations: 198 kB / 436.8 MB, free: 12 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007253/0.2315, allocations: 427.2 kB / 437.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.2326, allocations: 1.122 MB / 438.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.2331, allocations: 332.3 kB / 438.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005259/0.2336, allocations: 410.2 kB / 439.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.234, allocations: 433.6 kB / 439.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.2341, allocations: 84 kB / 439.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.2343, allocations: 108 kB / 439.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.2345, allocations: 211.1 kB / 439.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003942/0.2349, allocations: 0.4932 MB / 440.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.236, allocations: 1.194 MB / 441.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.236, allocations: 0 / 441.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.236, allocations: 0 / 441.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.236, allocations: 0 / 441.6 MB, free: 11.2 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001707/0.2377, allocations: 1.347 MB / 442.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2377, allocations: 8.031 kB / 443 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.2379, allocations: 152.2 kB / 443.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.2382, allocations: 151.1 kB / 443.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.2391, allocations: 0.6659 MB / 443.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.2392, allocations: 77.94 kB / 444 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.2393, allocations: 96 kB / 444.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2409, allocations: 1.035 MB / 445.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.2409, allocations: 7.938 kB / 445.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.241, allocations: 44 kB / 445.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.241, allocations: 28 kB / 445.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.242, allocations: 0.5578 MB / 445.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/0.2469, allocations: 5.502 MB / 451.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.2474, allocations: 220.9 kB / 451.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.2477, allocations: 153.6 kB / 451.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.2478, allocations: 96.97 kB / 451.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2479, allocations: 30.56 kB / 451.7 MB, free: 496 kB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.2479, allocations: 0 / 451.7 MB, free: 496 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003745/0.2516, allocations: 1.743 MB / 453.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.2517, allocations: 85.05 kB / 453.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.2524, allocations: 0.6413 MB / 454.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.2524, allocations: 33.7 kB / 454.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.2528, allocations: 0.62 MB / 454.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.253, allocations: 154.7 kB / 455 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.2531, allocations: 138.5 kB / 455.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.2533, allocations: 386.7 kB / 455.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.2536, allocations: 153.9 kB / 455.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.2542, allocations: 497.1 kB / 456.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009203/0.2551, allocations: 0.7034 MB / 456.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2551, allocations: 0 / 456.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001122/0.2562, allocations: 0.7198 MB / 457.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2562, allocations: 12 kB / 457.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.2563, allocations: 12 kB / 457.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.2563, allocations: 16 kB / 457.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.2569, allocations: 199.6 kB / 457.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.834e-05/0.2569, allocations: 19.94 kB / 457.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.2573, allocations: 40.17 kB / 457.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.2573, allocations: 44 kB / 457.9 MB, free: 9.816 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0002743/0.2576, allocations: 229.5 kB / 458.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2577, allocations: 83.48 kB / 458.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.2578, allocations: 70.59 kB / 458.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2578, allocations: 7.938 kB / 458.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2578, allocations: 0 / 458.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2578, allocations: 3.984 kB / 458.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.2598, allocations: 1.321 MB / 459.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2598, allocations: 0 / 459.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.2602, allocations: 99.86 kB / 459.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.2602, allocations: 7.938 kB / 459.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.2603, allocations: 12 kB / 459.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.2603, allocations: 7.938 kB / 459.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2603, allocations: 4 kB / 459.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009594/0.2612, allocations: 0.7159 MB / 460.5 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.2614, allocations: 144.6 kB / 460.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.2614, allocations: 12 kB / 460.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.2617, allocations: 19.98 kB / 460.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.2618, allocations: 27.95 kB / 460.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.2618, allocations: 16 kB / 460.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000453/0.2622, allocations: 427 kB / 461.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2622, allocations: 0 / 461.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005568/0.2628, allocations: 140 kB / 461.2 MB, free: 6.363 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.001304/0.2641, allocations: 1.258 MB / 462.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007324/0.2648, allocations: 422 kB / 462.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2648, allocations: 0 / 462.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.2651, allocations: 146.4 kB / 463.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.2656, allocations: 71.3 kB / 463.1 MB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00774/0.2733, allocations: 6.148 MB / 469.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.274, allocations: 1.008 MB / 470.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002422/0.2742, allocations: 98.05 kB / 470.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/0.2747, allocations: 391.3 kB / 470.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2747, allocations: 0 / 470.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/0.3113, allocations: 11.8 MB / 482.6 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.067, allocations: 4 kB / 482.6 MB, free: 0.5938 MB / 382.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.152174435002962]