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.001793/0.001793, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002267/0.002267, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.429/1.429, allocations: 230.4 MB / 254.7 MB, free: 15.22 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.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.001868/0.001868, allocations: 63.84 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09985, allocations: 53.32 MB / 426.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.2012/0.3011, allocations: 5.421 MB / 432.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.3039, allocations: 1.524 MB / 433.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003978/0.3043, allocations: 28.38 kB / 433.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.3047, allocations: 217.8 kB / 434.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.3052, allocations: 195.3 kB / 434.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.3059, allocations: 417.5 kB / 434.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009262/0.3068, allocations: 1.122 MB / 435.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004909/0.3073, allocations: 340 kB / 436.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.3078, allocations: 405.6 kB / 436.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.3082, allocations: 434.6 kB / 437 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.3083, allocations: 83.47 kB / 437.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.3085, allocations: 108.3 kB / 437.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3087, allocations: 206.5 kB / 437.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.309, allocations: 0.4997 MB / 437.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3103, allocations: 1.192 MB / 439.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3103, allocations: 1.219 kB / 439.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3103, allocations: 0 / 439.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.3103, allocations: 2.406 kB / 439.1 MB, free: 5.688 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.001843/0.3121, allocations: 1.342 MB / 440.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3122, allocations: 10.91 kB / 440.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.3123, allocations: 151.9 kB / 440.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.3127, allocations: 149.8 kB / 440.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.3137, allocations: 0.6682 MB / 441.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.3138, allocations: 80.78 kB / 441.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.3139, allocations: 101.1 kB / 441.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3154, allocations: 1.025 MB / 442.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.3155, allocations: 9.062 kB / 442.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.3155, allocations: 44.09 kB / 442.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.3156, allocations: 26.16 kB / 442.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3166, allocations: 0.5588 MB / 443.2 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/0.321, allocations: 5.5 MB / 448.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.3216, allocations: 222.3 kB / 448.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.3219, allocations: 147.8 kB / 449.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.322, allocations: 88.22 kB / 449.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.3221, allocations: 40.75 kB / 449.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.294e-06/0.3221, allocations: 0 / 449.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004069/0.3262, allocations: 1.737 MB / 450.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.3262, allocations: 90.05 kB / 451 MB, free: 13.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008571/0.3271, allocations: 0.6431 MB / 451.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.3271, allocations: 30.92 kB / 451.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/0.3276, allocations: 0.6159 MB / 452.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.3278, allocations: 154.9 kB / 452.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.328, allocations: 138.7 kB / 452.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.3282, allocations: 384.4 kB / 453 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.3285, allocations: 153.2 kB / 453.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.3291, allocations: 0.4908 MB / 453.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3301, allocations: 0.7038 MB / 454.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3301, allocations: 3.438 kB / 454.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001289/0.3314, allocations: 0.7117 MB / 455 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3314, allocations: 9.656 kB / 455 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.3315, allocations: 16 kB / 455.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.3315, allocations: 20.34 kB / 455.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/0.3321, allocations: 195 kB / 455.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-05/0.3322, allocations: 27.8 kB / 455.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.3325, allocations: 33.78 kB / 455.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.3326, allocations: 40.41 kB / 455.4 MB, free: 10.23 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.0003501/0.3329, allocations: 238.7 kB / 455.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.3331, allocations: 79.11 kB / 455.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.3332, allocations: 74.52 kB / 455.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3332, allocations: 9.516 kB / 455.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.3332, allocations: 1.625 kB / 455.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3332, allocations: 1.828 kB / 455.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.3355, allocations: 1.319 MB / 457.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3355, allocations: 1.375 kB / 457.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/0.336, allocations: 107.5 kB / 457.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.336, allocations: 8.062 kB / 457.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.3361, allocations: 9.812 kB / 457.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3361, allocations: 2.75 kB / 457.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3361, allocations: 3.453 kB / 457.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3371, allocations: 0.709 MB / 457.9 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.3373, allocations: 142.4 kB / 458.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.3373, allocations: 17.44 kB / 458.1 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.3376, allocations: 20.86 kB / 458.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.3377, allocations: 27.44 kB / 458.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.3377, allocations: 14.33 kB / 458.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005189/0.3382, allocations: 421.6 kB / 458.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3382, allocations: 0 / 458.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007318/0.339, allocations: 146.3 kB / 458.7 MB, free: 8.375 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.001409/0.3404, allocations: 1.253 MB / 459.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008212/0.3412, allocations: 419 kB / 460.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3412, allocations: 1.375 kB / 460.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.3415, allocations: 149.6 kB / 460.5 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.3421, allocations: 74.86 kB / 460.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009273/0.3513, allocations: 6.152 MB / 466.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/0.3521, allocations: 1.007 MB / 467.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.3524, allocations: 91.72 kB / 467.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.3529, allocations: 392.3 kB / 468.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3529, allocations: 5.188 kB / 468.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.3952, allocations: 11.8 MB / 480 MB, free: 9.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.731/9.126, allocations: 6.688 kB / 480 MB, free: 9.848 MB / 382.1 MB " [Timeout remaining time 651] (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 --stepSize=0.0001 --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: 11.444257052615285] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'inductor2.i'] 9.20295047108084 9.223804657 8.909412941 Calling exit ...