Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.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.001345/0.001345, allocations: 105.5 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.001491/0.001491, allocations: 221.8 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.29/1.29, allocations: 230.5 MB / 256.4 MB, free: 8.422 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.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ParallelResonance",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.001767/0.001767, allocations: 71.88 kB / 376.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2242, allocations: 53.31 MB / 429.4 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004036/0.2283, allocations: 2.929 MB / 432.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2295, allocations: 0.7205 MB / 433.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.2296, allocations: 8 kB / 433.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.2298, allocations: 59.38 kB / 433.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.23, allocations: 91.19 kB / 433.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.2302, allocations: 87.88 kB / 433.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.2306, allocations: 386.8 kB / 433.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.2309, allocations: 116.5 kB / 433.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.2311, allocations: 155.5 kB / 433.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.2314, allocations: 167.2 kB / 434.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.2314, allocations: 36 kB / 434.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.945e-05/0.2315, allocations: 32 kB / 434.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.2315, allocations: 67.77 kB / 434.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.2317, allocations: 171.2 kB / 434.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.2321, allocations: 386.7 kB / 434.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2321, allocations: 3.938 kB / 434.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2321, allocations: 0 / 434.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.2321, allocations: 0 / 434.8 MB, free: 2.02 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.0009685/0.2331, allocations: 0.6274 MB / 435.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2331, allocations: 8.031 kB / 435.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.661e-05/0.2332, allocations: 70.72 kB / 435.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.2333, allocations: 36.7 kB / 435.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.2336, allocations: 280.2 kB / 435.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2336, allocations: 21.03 kB / 435.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.2337, allocations: 32.38 kB / 435.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/0.2342, allocations: 282.2 kB / 436.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2342, allocations: 0 / 436.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.2343, allocations: 12 kB / 436.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.2343, allocations: 8 kB / 436.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.2347, allocations: 222.4 kB / 436.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.2362, allocations: 1.019 MB / 437.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.2365, allocations: 150.5 kB / 437.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.2367, allocations: 125.1 kB / 437.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.2368, allocations: 7.953 kB / 437.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.2368, allocations: 34.56 kB / 437.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.2368, allocations: 0 / 437.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005558/0.2373, allocations: 221.4 kB / 437.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.2374, allocations: 51.41 kB / 438 MB, free: 14.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.2376, allocations: 227 kB / 438.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.2376, allocations: 29.7 kB / 438.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.2377, allocations: 192.4 kB / 438.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.2378, allocations: 83.31 kB / 438.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.2378, allocations: 49.98 kB / 438.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.238, allocations: 334.8 kB / 438.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2381, allocations: 64.53 kB / 438.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.2384, allocations: 143.4 kB / 439.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.2387, allocations: 229.1 kB / 439.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2387, allocations: 0 / 439.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004672/0.2392, allocations: 273.1 kB / 439.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2392, allocations: 15.92 kB / 439.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2392, allocations: 4 kB / 439.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2392, allocations: 4 kB / 439.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.2395, allocations: 68.16 kB / 439.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2395, allocations: 8 kB / 439.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2397, allocations: 39.7 kB / 439.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2397, allocations: 8 kB / 439.7 MB, free: 12.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001237/0.2398, allocations: 141.8 kB / 439.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.2398, allocations: 27.8 kB / 439.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.2402, allocations: 200.8 kB / 440.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2402, allocations: 8 kB / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2403, allocations: 0 / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2403, allocations: 0 / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.241, allocations: 0.6032 MB / 440.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.241, allocations: 0 / 440.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.2413, allocations: 60.02 kB / 440.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2413, allocations: 3.938 kB / 440.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2413, allocations: 8 kB / 440.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2413, allocations: 4 kB / 440.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2413, allocations: 3.984 kB / 440.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.2419, allocations: 374.5 kB / 441.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.242, allocations: 104.9 kB / 441.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.242, allocations: 4.062 kB / 441.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.2422, allocations: 15.98 kB / 441.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.2422, allocations: 19.86 kB / 441.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2422, allocations: 4 kB / 441.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.2424, allocations: 168.5 kB / 441.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2424, allocations: 4 kB / 441.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.2427, allocations: 75.78 kB / 441.5 MB, free: 10.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.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 (21): * Single equations (assignments): 21 * 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.0008549/0.2435, allocations: 0.9094 MB / 442.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.2439, allocations: 174.7 kB / 442.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2439, allocations: 0 / 442.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.2441, allocations: 84.45 kB / 442.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2444, allocations: 31.7 kB / 442.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.2478, allocations: 2.825 MB / 445.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.2481, allocations: 0.7713 MB / 446.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.828e-05/0.2482, allocations: 17.95 kB / 446.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2483, allocations: 95.39 kB / 446.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2483, allocations: 0 / 446.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.2756, allocations: 4.663 MB / 451.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.432, allocations: 2.969 kB / 451.1 MB, free: 1.207 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.556275620001543]