Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.001847/0.001847, allocations: 105.1 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.002202/0.002202, allocations: 213.9 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.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",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.002127/0.002127, allocations: 68.77 kB / 378.6 MB, free: 3.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2651, allocations: 53.36 MB / 432 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004828/0.2699, allocations: 2.736 MB / 434.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2714, allocations: 0.7166 MB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.2715, allocations: 7.938 kB / 435.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.2717, allocations: 43.52 kB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.2719, allocations: 95.25 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.2721, allocations: 91.81 kB / 435.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.2725, allocations: 334.5 kB / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.2727, allocations: 77.98 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.273, allocations: 143.5 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.2732, allocations: 143.3 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.2733, allocations: 28 kB / 436.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.713e-05/0.2733, allocations: 24 kB / 436.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.2734, allocations: 67.77 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.2735, allocations: 147.3 kB / 436.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.2739, allocations: 319.5 kB / 436.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2739, allocations: 0 / 436.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2739, allocations: 0 / 436.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.274, allocations: 0 / 436.9 MB, free: 1.941 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001051/0.275, allocations: 0.517 MB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.275, allocations: 8.031 kB / 437.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.77e-05/0.2751, allocations: 66.72 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.2752, allocations: 32.75 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.2756, allocations: 217.9 kB / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.2756, allocations: 16.88 kB / 437.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.2757, allocations: 24.38 kB / 437.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.2762, allocations: 278.9 kB / 438 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2762, allocations: 0 / 438 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.2763, allocations: 8 kB / 438.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2763, allocations: 8 kB / 438.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.2767, allocations: 209.8 kB / 438.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.2784, allocations: 0.957 MB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.2789, allocations: 179.6 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.2793, allocations: 149.1 kB / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.2794, allocations: 7.906 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.2794, allocations: 34.47 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.2794, allocations: 0 / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001652/0.281, allocations: 0.4895 MB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.2811, allocations: 51.41 kB / 440.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.2813, allocations: 232.9 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.2814, allocations: 37.62 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2815, allocations: 180.2 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.2816, allocations: 63.47 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.2817, allocations: 49.66 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.2818, allocations: 326.8 kB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.282, allocations: 75.89 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.2823, allocations: 131.6 kB / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.2827, allocations: 204.5 kB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2827, allocations: 7.938 kB / 441.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008604/0.2835, allocations: 346.2 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.2836, allocations: 8 kB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2836, allocations: 0 / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.284, allocations: 84.86 kB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2842, allocations: 51.91 kB / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.2871, allocations: 1.898 MB / 443.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.2873, allocations: 35.77 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.2873, allocations: 12 kB / 443.8 MB, free: 10.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.2875, allocations: 148.5 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.2875, allocations: 19.86 kB / 444 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.2876, allocations: 30.11 kB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2876, allocations: 0 / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2876, allocations: 0 / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2876, allocations: 3.938 kB / 444 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.2888, allocations: 0.6191 MB / 444.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2888, allocations: 4 kB / 444.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.2889, allocations: 35.98 kB / 444.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/0.2892, allocations: 72.73 kB / 444.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2892, allocations: 8 kB / 444.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.2917, allocations: 1.828 MB / 446.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2917, allocations: 0 / 446.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.2926, allocations: 451.9 kB / 447 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.2926, allocations: 31.89 kB / 447.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.2927, allocations: 3.984 kB / 447.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.2929, allocations: 19.98 kB / 447.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.2929, allocations: 7.984 kB / 447.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.2929, allocations: 7.938 kB / 447.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.2931, allocations: 172.5 kB / 447.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2931, allocations: 0 / 447.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000414/0.2935, allocations: 75.89 kB / 447.3 MB, free: 6.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001274/0.2948, allocations: 0.9853 MB / 448.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.2957, allocations: 366.4 kB / 448.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.2957, allocations: 4 kB / 448.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.296, allocations: 202.6 kB / 448.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.2964, allocations: 40.95 kB / 448.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.3018, allocations: 3.081 MB / 452 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.3022, allocations: 0.748 MB / 452.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.417e-05/0.3023, allocations: 21.95 kB / 452.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3024, allocations: 71.41 kB / 452.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3024, allocations: 4 kB / 452.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03741/0.3398, allocations: 5.592 MB / 458.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.19, allocations: 9.156 kB / 458.5 MB, free: 11.72 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv --start-time 0 --stop-time 0.01 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 1.001e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.682678295765072] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'l.i', 'opAmp.out.v', 'opAmp.out.i'] 12.293443221133202 12.310266813 12.032915985 Calling exit ...