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.001669/0.001669, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002182/0.002182, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.002314/0.002314, allocations: 64.75 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2635, allocations: 53.37 MB / 432 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00414/0.2676, allocations: 2.74 MB / 434.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.269, allocations: 0.7167 MB / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.2692, allocations: 7.938 kB / 435.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.2693, allocations: 43.58 kB / 435.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.2695, allocations: 83.25 kB / 435.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.2698, allocations: 87.83 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.2702, allocations: 346.5 kB / 436 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2704, allocations: 89.97 kB / 436.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.2707, allocations: 127.6 kB / 436.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.2709, allocations: 139.4 kB / 436.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.271, allocations: 28 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.271, allocations: 28 kB / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.2711, allocations: 67.7 kB / 436.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.2712, allocations: 147.3 kB / 436.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.2716, allocations: 311.5 kB / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2716, allocations: 0 / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2716, allocations: 3.938 kB / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.2716, allocations: 0 / 436.9 MB, free: 1.973 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.0009932/0.2726, allocations: 0.517 MB / 437.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2727, allocations: 16.03 kB / 437.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.299e-05/0.2727, allocations: 66.66 kB / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.2728, allocations: 36.75 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.2732, allocations: 206 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2733, allocations: 16.88 kB / 437.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.2733, allocations: 24.38 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.2739, allocations: 286.8 kB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2739, allocations: 0 / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.2739, allocations: 15.94 kB / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2739, allocations: 4 kB / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/0.2744, allocations: 209.9 kB / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.276, allocations: 0.9647 MB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.2765, allocations: 170.6 kB / 439.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.2769, allocations: 145.1 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.2769, allocations: 3.938 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.2769, allocations: 46.47 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.2769, allocations: 0 / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001631/0.2786, allocations: 492.6 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2786, allocations: 55.41 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.2789, allocations: 232.9 kB / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.2789, allocations: 29.7 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.279, allocations: 180.1 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.2791, allocations: 63.47 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.2791, allocations: 53.66 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2793, allocations: 330.8 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.2795, allocations: 67.97 kB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2797, allocations: 131.6 kB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.28, allocations: 208.5 kB / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.28, allocations: 7.938 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008024/0.2809, allocations: 346.2 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2809, allocations: 8.062 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2809, allocations: 4 kB / 441.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.2812, allocations: 72.8 kB / 441.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.2814, allocations: 59.91 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.2842, allocations: 1.898 MB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.2844, allocations: 43.64 kB / 443.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.2844, allocations: 4 kB / 443.8 MB, free: 10.63 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.0001547/0.2846, allocations: 145.7 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.2846, allocations: 23.86 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.2847, allocations: 26.11 kB / 444 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2847, allocations: 4 kB / 444 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2847, allocations: 4.062 kB / 444 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2847, allocations: 0 / 444 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.2858, allocations: 0.6268 MB / 444.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2858, allocations: 0 / 444.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.286, allocations: 27.98 kB / 444.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/0.2862, allocations: 80.8 kB / 444.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.2862, allocations: 3.984 kB / 444.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.2885, allocations: 1.812 MB / 446.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2885, allocations: 0 / 446.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.2895, allocations: 467.2 kB / 447 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.2895, allocations: 27.8 kB / 447.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.2895, allocations: 4 kB / 447.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.2897, allocations: 19.98 kB / 447.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.2898, allocations: 16.05 kB / 447.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.2898, allocations: 11.92 kB / 447.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.2899, allocations: 164.5 kB / 447.3 MB, free: 7 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2899, allocations: 0 / 447.3 MB, free: 7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004252/0.2904, allocations: 75.83 kB / 447.3 MB, free: 6.926 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.001217/0.2916, allocations: 0.989 MB / 448.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008758/0.2925, allocations: 362.5 kB / 448.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2925, allocations: 0 / 448.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.2928, allocations: 205.2 kB / 448.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.2932, allocations: 40.62 kB / 448.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/0.2984, allocations: 3.08 MB / 452 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.2988, allocations: 0.7519 MB / 452.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.555e-05/0.2989, allocations: 21.92 kB / 452.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.299, allocations: 79.42 kB / 452.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.299, allocations: 0 / 452.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.3343, allocations: 5.597 MB / 458.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.2, allocations: 6.469 kB / 458.5 MB, free: 11.74 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.714167210273445] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'l.i', 'opAmp.out.v', 'opAmp.out.i'] 12.300499776843935 12.328035464 12.051541512 Calling exit ...