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.001251/0.001251, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001316/0.001316, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.419/1.419, allocations: 230.5 MB / 254.8 MB, free: 15.24 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.001915/0.001915, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.1013, allocations: 53.33 MB / 427.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004008/0.1053, allocations: 2.72 MB / 429.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1066, allocations: 0.7128 MB / 430.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1067, allocations: 11.88 kB / 430.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1069, allocations: 43.58 kB / 430.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1071, allocations: 87.25 kB / 430.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1073, allocations: 95.81 kB / 430.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.1077, allocations: 338.5 kB / 431.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1079, allocations: 81.69 kB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.1082, allocations: 139.5 kB / 431.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1083, allocations: 143.3 kB / 431.4 MB, free: 392 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.1084, allocations: 28 kB / 431.4 MB, free: 364 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.1084, allocations: 28 kB / 431.5 MB, free: 336 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.1085, allocations: 55.83 kB / 431.5 MB, free: 280 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1086, allocations: 151.2 kB / 431.7 MB, free: 128 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.109, allocations: 318.8 kB / 432 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.109, allocations: 0 / 432 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.109, allocations: 0 / 432 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.109, allocations: 0 / 432 MB, free: 15.81 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001008/0.11, allocations: 0.5962 MB / 432.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1101, allocations: 12.03 kB / 432.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.91e-05/0.1101, allocations: 66.72 kB / 432.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.1102, allocations: 32.75 kB / 432.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.1106, allocations: 260.4 kB / 432.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1106, allocations: 24.94 kB / 433 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.1106, allocations: 28.36 kB / 433 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.1111, allocations: 275.8 kB / 433.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1111, allocations: 0 / 433.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.1112, allocations: 12 kB / 433.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1112, allocations: 4 kB / 433.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.1116, allocations: 214.1 kB / 433.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.1132, allocations: 0.9998 MB / 434.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.1137, allocations: 182.2 kB / 434.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.1141, allocations: 144.8 kB / 434.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1141, allocations: 0 / 434.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1142, allocations: 38.5 kB / 434.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.1142, allocations: 4 kB / 434.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001785/0.1159, allocations: 0.554 MB / 435.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.116, allocations: 51.41 kB / 435.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1162, allocations: 237 kB / 435.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1162, allocations: 29.7 kB / 435.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1164, allocations: 184.1 kB / 435.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.1164, allocations: 71.39 kB / 436 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.1165, allocations: 45.67 kB / 436 MB, free: 11.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1166, allocations: 330.8 kB / 436.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.1168, allocations: 71.95 kB / 436.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.1171, allocations: 142.8 kB / 436.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.1175, allocations: 197.2 kB / 436.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1175, allocations: 3.938 kB / 436.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008713/0.1183, allocations: 362.1 kB / 437.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1183, allocations: 4 kB / 437.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1184, allocations: 4 kB / 437.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.1187, allocations: 76.86 kB / 437.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.1189, allocations: 51.92 kB / 437.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.1219, allocations: 1.998 MB / 439.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.1221, allocations: 31.78 kB / 439.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.1221, allocations: 15.98 kB / 439.3 MB, free: 8.047 MB / 366.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.0001502/0.1222, allocations: 145.8 kB / 439.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.1223, allocations: 19.86 kB / 439.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.1223, allocations: 26.19 kB / 439.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1223, allocations: 0 / 439.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1223, allocations: 3.984 kB / 439.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1224, allocations: 0 / 439.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.1235, allocations: 0.657 MB / 440.1 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1235, allocations: 0 / 440.1 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1237, allocations: 39.98 kB / 440.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002675/0.124, allocations: 68.8 kB / 440.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.124, allocations: 8 kB / 440.2 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.1265, allocations: 1.916 MB / 442.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1265, allocations: 7.969 kB / 442.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.1274, allocations: 452.6 kB / 442.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.1275, allocations: 104.9 kB / 442.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1275, allocations: 12.06 kB / 442.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.1277, allocations: 19.98 kB / 442.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1278, allocations: 12.02 kB / 442.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1278, allocations: 7.938 kB / 442.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.128, allocations: 172.5 kB / 442.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.128, allocations: 0 / 442.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.1284, allocations: 71.89 kB / 443 MB, free: 4.086 MB / 366.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.0013/0.1297, allocations: 0.9913 MB / 444 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009698/0.1306, allocations: 366.5 kB / 444.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1306, allocations: 0 / 444.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.131, allocations: 202.5 kB / 444.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1314, allocations: 39.22 kB / 444.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1883/0.3197, allocations: 3.072 MB / 447.6 MB, free: 23.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3199, allocations: 0.7516 MB / 448.4 MB, free: 22.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.3201, allocations: 23.95 kB / 448.4 MB, free: 22.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.3202, allocations: 72.2 kB / 448.5 MB, free: 22.6 MB / 366.1 MB Notification: Performance of SimCode: time 1.392e-06/0.3202, allocations: 0 / 448.5 MB, free: 22.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.3521, allocations: 5.457 MB / 453.9 MB, free: 22.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.88, allocations: 10.12 kB / 454 MB, free: 22.16 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.329666649922729] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'l.i', 'opAmp.out.v', 'opAmp.out.i'] 11.979958242736757 12.002343233 11.889425576 Calling exit ...