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.001654/0.001654, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.002019/0.002019, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.465/1.465, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.002072/0.002072, allocations: 67.89 kB / 373.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1036, allocations: 53.32 MB / 426.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004887/0.1085, allocations: 2.719 MB / 429.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.11, allocations: 0.705 MB / 430.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1103, allocations: 4 kB / 430.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.1105, allocations: 55.5 kB / 430.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.1107, allocations: 83.25 kB / 430.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.1111, allocations: 103.8 kB / 430.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005034/0.1116, allocations: 330.6 kB / 430.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1118, allocations: 81.7 kB / 431 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.1122, allocations: 131.5 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.1124, allocations: 147.3 kB / 431.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.1125, allocations: 31.98 kB / 431.3 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.994e-05/0.1126, allocations: 28 kB / 431.3 MB, free: 384 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.1126, allocations: 55.83 kB / 431.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.1128, allocations: 147.2 kB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1791/0.2919, allocations: 310.6 kB / 431.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2919, allocations: 2.172 kB / 431.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2919, allocations: 0.625 kB / 431.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.2919, allocations: 0.6562 kB / 431.8 MB, free: 8.336 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009458/0.2929, allocations: 0.5959 MB / 432.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2929, allocations: 10.25 kB / 432.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.293, allocations: 60.67 kB / 432.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.293, allocations: 32.25 kB / 432.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.2934, allocations: 271.9 kB / 432.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2934, allocations: 19.75 kB / 432.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.2934, allocations: 28.16 kB / 432.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.2939, allocations: 279.2 kB / 433.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2939, allocations: 0.875 kB / 433.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.2939, allocations: 11.38 kB / 433.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2939, allocations: 5.688 kB / 433.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.2944, allocations: 206.4 kB / 433.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.2957, allocations: 1.011 MB / 434.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.2961, allocations: 175.2 kB / 434.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.2964, allocations: 145.9 kB / 434.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2965, allocations: 2.312 kB / 434.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.2965, allocations: 38.81 kB / 434.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.2965, allocations: 1.312 kB / 434.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001553/0.298, allocations: 0.5604 MB / 435.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.298, allocations: 60.38 kB / 435.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.2982, allocations: 230.7 kB / 435.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.2982, allocations: 30.42 kB / 435.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.2983, allocations: 179 kB / 435.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.2983, allocations: 70.19 kB / 435.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.2984, allocations: 47.84 kB / 435.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.2985, allocations: 332.5 kB / 436.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2986, allocations: 66.58 kB / 436.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.2988, allocations: 139.9 kB / 436.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.2991, allocations: 203.6 kB / 436.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2991, allocations: 0 / 436.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007738/0.2999, allocations: 357.7 kB / 436.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2999, allocations: 6.906 kB / 436.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2999, allocations: 1.188 kB / 436.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.3003, allocations: 75.19 kB / 437 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3004, allocations: 57.03 kB / 437.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.3027, allocations: 2.002 MB / 439.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.3029, allocations: 33.58 kB / 439.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3029, allocations: 10.62 kB / 439.1 MB, free: 4.355 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 9.938e-05/0.303, allocations: 139.4 kB / 439.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.3031, allocations: 23.23 kB / 439.3 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.3031, allocations: 28.8 kB / 439.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3031, allocations: 2.938 kB / 439.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3031, allocations: 1.797 kB / 439.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3031, allocations: 0.7969 kB / 439.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.3041, allocations: 0.6539 MB / 440 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3041, allocations: 1.641 kB / 440 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.3043, allocations: 33.39 kB / 440 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.3045, allocations: 75.97 kB / 440.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3045, allocations: 10.53 kB / 440.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.3064, allocations: 1.919 MB / 442 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3064, allocations: 5.094 kB / 442 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/0.3072, allocations: 456.1 kB / 442.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.3073, allocations: 103.7 kB / 442.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3073, allocations: 1.641 kB / 442.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3075, allocations: 27.81 kB / 442.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.3075, allocations: 13.77 kB / 442.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3076, allocations: 4.703 kB / 442.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3077, allocations: 174 kB / 442.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3077, allocations: 0 / 442.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.3081, allocations: 70.23 kB / 442.8 MB, free: 1.973 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.001004/0.3091, allocations: 0.9956 MB / 443.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008701/0.31, allocations: 361.7 kB / 444.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.31, allocations: 1.094 kB / 444.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.3103, allocations: 203.6 kB / 444.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3107, allocations: 42.89 kB / 444.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/0.3162, allocations: 3.076 MB / 447.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.3166, allocations: 0.7532 MB / 448.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.3167, allocations: 24.8 kB / 448.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3168, allocations: 76.5 kB / 448.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3168, allocations: 0 / 448.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.3527, allocations: 5.466 MB / 453.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.77, allocations: 3.953 kB / 453.8 MB, free: 13.63 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 & /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 --stepSize=1.001e-05 --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: 14.1525036576204] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'l.i', 'opAmp.out.v', 'opAmp.out.i'] 11.863094670698047 11.876031331 11.581299017 Calling exit ...