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.001269/0.001269, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001405/0.001405, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] 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.001934/0.001934, allocations: 64.7 kB / 378.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2733, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004354/0.2776, allocations: 2.94 MB / 434.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.279, allocations: 0.7283 MB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.2791, allocations: 8 kB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.2793, allocations: 59.38 kB / 435.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.2795, allocations: 83.19 kB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.2798, allocations: 95.81 kB / 435.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.2802, allocations: 386.8 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.2805, allocations: 122 kB / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.2808, allocations: 155.5 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.281, allocations: 155.3 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.2811, allocations: 36 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.324e-05/0.2811, allocations: 32 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.2812, allocations: 75.73 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.2814, allocations: 171.1 kB / 436.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000449/0.2818, allocations: 394 kB / 437.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2818, allocations: 4 kB / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2818, allocations: 0 / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2818, allocations: 0 / 437.3 MB, free: 1.477 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.0009327/0.2828, allocations: 0.5506 MB / 437.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2828, allocations: 8.031 kB / 437.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.471e-05/0.2829, allocations: 70.72 kB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.283, allocations: 36.7 kB / 438 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.2833, allocations: 210.7 kB / 438.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.2833, allocations: 25.03 kB / 438.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.2834, allocations: 28.38 kB / 438.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.2839, allocations: 282.2 kB / 438.5 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2839, allocations: 4 kB / 438.5 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.284, allocations: 16 kB / 438.5 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.284, allocations: 8 kB / 438.6 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.2845, allocations: 218.4 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.2861, allocations: 0.9799 MB / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.2864, allocations: 158.5 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.2867, allocations: 125.1 kB / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.2867, allocations: 11.95 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.2868, allocations: 30.56 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/0.2868, allocations: 0 / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006014/0.2874, allocations: 225.3 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.2874, allocations: 55.41 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.2876, allocations: 223.1 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2877, allocations: 29.7 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2878, allocations: 188.4 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.2879, allocations: 83.31 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.797e-05/0.2879, allocations: 45.98 kB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2881, allocations: 338.8 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.2883, allocations: 64.53 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.2885, allocations: 147.3 kB / 441.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.2889, allocations: 229.2 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2889, allocations: 3.984 kB / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005056/0.2894, allocations: 265.4 kB / 441.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2894, allocations: 11 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2894, allocations: 4 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2895, allocations: 4 kB / 441.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.2898, allocations: 79.84 kB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.2898, allocations: 7.984 kB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.2899, allocations: 27.78 kB / 442.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.2899, allocations: 12 kB / 442.1 MB, free: 12.46 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.0001521/0.2901, allocations: 153.7 kB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.2901, allocations: 23.8 kB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.2906, allocations: 195.3 kB / 442.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2906, allocations: 3.938 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2906, allocations: 0 / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2906, allocations: 4 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008522/0.2914, allocations: 0.5717 MB / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2914, allocations: 0 / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.2917, allocations: 59.95 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.2917, allocations: 4 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2918, allocations: 4 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.2918, allocations: 7.938 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2918, allocations: 3.938 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.2924, allocations: 367.3 kB / 443.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.2924, allocations: 31.84 kB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.2924, allocations: 8 kB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2926, allocations: 15.98 kB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.2927, allocations: 15.97 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2927, allocations: 8 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.2928, allocations: 164.5 kB / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2928, allocations: 0 / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.2932, allocations: 79.78 kB / 443.8 MB, free: 10.67 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.0009661/0.2941, allocations: 0.9164 MB / 444.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.2945, allocations: 167.8 kB / 444.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2945, allocations: 0 / 444.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2947, allocations: 83.83 kB / 444.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.2951, allocations: 32.84 kB / 445 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.2991, allocations: 2.822 MB / 447.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.2995, allocations: 0.7636 MB / 448.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.986e-05/0.2996, allocations: 25.92 kB / 448.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.2997, allocations: 95.41 kB / 448.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2997, allocations: 0 / 448.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.3292, allocations: 4.811 MB / 453.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.277, allocations: 3.25 kB / 453.5 MB, free: 0.8633 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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: 10.730693657882512] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'cosineCurrent.phi', 'inductor1.i', 'inductor2.i', 'sineCurrent.phi'] 8.346575006842613 8.361420432 8.076568557 Calling exit ...