Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.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.001403/0.001403, 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.001489/0.001489, allocations: 220.4 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.293/1.293, 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.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Oscillator",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.00177/0.00177, allocations: 63.89 kB / 376.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.205, allocations: 53.31 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007819/0.2128, allocations: 7.562 MB / 437 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.2246, allocations: 10.77 MB / 447.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.2254, allocations: 75.31 kB / 447.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.227, allocations: 0.7135 MB / 448.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.2304, allocations: 1.197 MB / 449.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.232, allocations: 0.674 MB / 450.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003817/0.2358, allocations: 2.576 MB / 453 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.2362, allocations: 179.9 kB / 453.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.2368, allocations: 0.4937 MB / 453.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.2374, allocations: 0.5278 MB / 454.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.2375, allocations: 59.98 kB / 454.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.2391, allocations: 0.7804 MB / 455 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.2392, allocations: 190.8 kB / 455.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005932/0.2398, allocations: 0.6676 MB / 455.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.242, allocations: 1.956 MB / 457.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.242, allocations: 4 kB / 457.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.242, allocations: 0 / 457.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.242, allocations: 0 / 457.8 MB, free: 10.89 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00265/0.2447, allocations: 2.039 MB / 459.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2447, allocations: 11.97 kB / 459.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.568e-05/0.2448, allocations: 94.7 kB / 460 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.245, allocations: 211.7 kB / 460.2 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.2468, allocations: 1.354 MB / 461.5 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.2468, allocations: 36.98 kB / 461.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.2469, allocations: 47.98 kB / 461.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008772/0.2478, allocations: 0.508 MB / 462.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2478, allocations: 0 / 462.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.2479, allocations: 20 kB / 462.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.2479, allocations: 19.98 kB / 462.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009076/0.2488, allocations: 476 kB / 462.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.2517, allocations: 2.105 MB / 464.7 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/0.2526, allocations: 0.6415 MB / 465.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006926/0.2533, allocations: 469.8 kB / 465.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005669/0.259, allocations: 4.912 MB / 470.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005679/0.2595, allocations: 317.9 kB / 471 MB, free: 12.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 1.794e-06/0.2595, allocations: 0 / 471 MB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004764/0.2643, allocations: 2.421 MB / 473.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.2644, allocations: 63.84 kB / 473.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.2658, allocations: 1.288 MB / 474.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.2659, allocations: 37.7 kB / 474.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.2665, allocations: 0.7002 MB / 475.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.2667, allocations: 238 kB / 475.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.2668, allocations: 118.3 kB / 475.9 MB, free: 7.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.267, allocations: 337.9 kB / 476.2 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.2674, allocations: 213.6 kB / 476.4 MB, free: 7.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.268, allocations: 364.5 kB / 476.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.269, allocations: 0.6073 MB / 477.4 MB, free: 6.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.269, allocations: 11.88 kB / 477.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00161/0.2706, allocations: 0.9629 MB / 478.4 MB, free: 5.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2706, allocations: 8 kB / 478.4 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.583e-05/0.2707, allocations: 67.94 kB / 478.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.2712, allocations: 181.8 kB / 478.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.2716, allocations: 103.8 kB / 478.7 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/0.2748, allocations: 2.763 MB / 481.5 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.2753, allocations: 28.03 kB / 481.5 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.2753, allocations: 40 kB / 481.6 MB, free: 1.852 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003923/0.2757, allocations: 269.7 kB / 481.8 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.2759, allocations: 194.8 kB / 482 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.2777, allocations: 0.9564 MB / 483 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2777, allocations: 7.984 kB / 483 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2777, allocations: 8 kB / 483 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2778, allocations: 0 / 483 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.2788, allocations: 0.902 MB / 483.9 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.88e-05/0.2788, allocations: 67.98 kB / 483.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.2791, allocations: 55.95 kB / 484 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.2796, allocations: 181.9 kB / 484.2 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.2796, allocations: 19.94 kB / 484.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.2827, allocations: 2.751 MB / 487 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2827, allocations: 8 kB / 487 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.2847, allocations: 1.19 MB / 488.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.285, allocations: 256 kB / 488.4 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.2851, allocations: 19.94 kB / 488.4 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.2855, allocations: 15.98 kB / 488.4 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2856, allocations: 52.38 kB / 488.5 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.2856, allocations: 23.98 kB / 488.5 MB, free: 10.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009974/0.2866, allocations: 0.8535 MB / 489.4 MB, free: 9.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2866, allocations: 0 / 489.4 MB, free: 9.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008676/0.2875, allocations: 387.2 kB / 489.7 MB, free: 9.414 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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): 1 system {(4,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002902/0.2904, allocations: 2.09 MB / 491.8 MB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.292, allocations: 0.8703 MB / 492.7 MB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.292, allocations: 0 / 492.7 MB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.293, allocations: 0.6158 MB / 493.3 MB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.2938, allocations: 214 kB / 493.5 MB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.3063, allocations: 9.449 MB / 0.4912 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.3071, allocations: 1.17 MB / 0.4923 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004811/0.3076, allocations: 187.2 kB / 0.4925 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000621/0.3082, allocations: 0.5734 MB / 0.4931 GB, free: 9.824 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3082, allocations: 0 / 0.4931 GB, free: 9.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06441/0.3726, allocations: 30.01 MB / 0.5224 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.64, allocations: 17.36 kB / 0.5224 GB, free: 12 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Oscillator_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.912271182998666]