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.001412/0.001412, allocations: 105 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.001603/0.001603, allocations: 218.3 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.274/1.274, allocations: 230.5 MB / 256.4 MB, free: 8.441 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.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.001762/0.001762, allocations: 67.89 kB / 376.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2171, allocations: 53.31 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003481/0.2205, allocations: 2.736 MB / 432.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2216, allocations: 0.705 MB / 432.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.2217, allocations: 8 kB / 432.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.2219, allocations: 43.56 kB / 432.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.222, allocations: 95.19 kB / 433 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.2222, allocations: 87.88 kB / 433.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.2226, allocations: 338.5 kB / 433.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.2228, allocations: 77.7 kB / 433.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.223, allocations: 135.5 kB / 433.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.2232, allocations: 151.3 kB / 433.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.2232, allocations: 28 kB / 433.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.2233, allocations: 28 kB / 433.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.2233, allocations: 59.77 kB / 433.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.2234, allocations: 147.3 kB / 434.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.2238, allocations: 319.1 kB / 434.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2238, allocations: 0 / 434.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2238, allocations: 0 / 434.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2238, allocations: 0 / 434.4 MB, free: 2.492 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.0009162/0.2247, allocations: 0.5923 MB / 435 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2247, allocations: 8.031 kB / 435 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.2248, allocations: 62.73 kB / 435 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.2248, allocations: 32.75 kB / 435.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.2251, allocations: 283.7 kB / 435.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2252, allocations: 20.92 kB / 435.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.2252, allocations: 24.38 kB / 435.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.2257, allocations: 283.8 kB / 435.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2257, allocations: 0 / 435.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.2257, allocations: 12 kB / 435.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2257, allocations: 4 kB / 435.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.2262, allocations: 206.1 kB / 435.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.2276, allocations: 1.004 MB / 436.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.2281, allocations: 174.5 kB / 437.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.2285, allocations: 149.1 kB / 437.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.2285, allocations: 4 kB / 437.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.2285, allocations: 34.47 kB / 437.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.2285, allocations: 0 / 437.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001664/0.2302, allocations: 0.5606 MB / 437.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.2302, allocations: 51.41 kB / 437.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.2304, allocations: 233 kB / 438.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2305, allocations: 29.7 kB / 438.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2306, allocations: 188.1 kB / 438.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.2306, allocations: 59.48 kB / 438.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.2307, allocations: 49.66 kB / 438.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2308, allocations: 338.8 kB / 438.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.231, allocations: 63.97 kB / 438.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.2312, allocations: 134.8 kB / 438.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.2316, allocations: 217.3 kB / 439.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2316, allocations: 3.938 kB / 439.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008157/0.2324, allocations: 346.9 kB / 439.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2324, allocations: 8 kB / 439.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2324, allocations: 8.047 kB / 439.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.2327, allocations: 72.81 kB / 439.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.2329, allocations: 51.91 kB / 439.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.2356, allocations: 2.005 MB / 441.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.2358, allocations: 35.84 kB / 441.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.2358, allocations: 8 kB / 441.7 MB, free: 10.73 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.0001247/0.2359, allocations: 137.7 kB / 441.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.236, allocations: 27.84 kB / 441.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.236, allocations: 22.19 kB / 441.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.236, allocations: 4 kB / 441.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.236, allocations: 0 / 441.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.236, allocations: 12.05 kB / 441.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.2371, allocations: 0.659 MB / 442.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2371, allocations: 0 / 442.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.2373, allocations: 27.98 kB / 442.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.2375, allocations: 80.8 kB / 442.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2375, allocations: 3.938 kB / 442.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.2399, allocations: 1.92 MB / 444.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2399, allocations: 0 / 444.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009111/0.2408, allocations: 460 kB / 445 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.2409, allocations: 96.91 kB / 445.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.2409, allocations: 3.984 kB / 445.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.2411, allocations: 23.98 kB / 445.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.2411, allocations: 12.11 kB / 445.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.2411, allocations: 16 kB / 445.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.2413, allocations: 168.5 kB / 445.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2413, allocations: 0 / 445.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.2417, allocations: 71.89 kB / 445.4 MB, free: 6.758 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.001221/0.2429, allocations: 0.9929 MB / 446.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008809/0.2438, allocations: 369.5 kB / 446.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2438, allocations: 0 / 446.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.2441, allocations: 198.9 kB / 446.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.2444, allocations: 32.66 kB / 447 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.2495, allocations: 3.093 MB / 450.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.2498, allocations: 0.7518 MB / 450.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.496e-05/0.2499, allocations: 17.95 kB / 450.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.25, allocations: 75.41 kB / 450.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.25, allocations: 4 kB / 450.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.2832, allocations: 5.455 MB / 456.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.68, allocations: 6.75 kB / 456.4 MB, free: 11.7 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 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: 12.763650305998453]