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.001309/0.001309, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001451/0.001451, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.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.002973/0.002973, allocations: 60.56 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3216, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009564/0.3311, allocations: 7.565 MB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.3462, allocations: 10.79 MB / 450.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.3479, allocations: 122.6 kB / 450.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.35, allocations: 0.7133 MB / 451.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005193/0.3552, allocations: 1.202 MB / 452.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.358, allocations: 0.6839 MB / 453 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005334/0.3633, allocations: 2.586 MB / 455.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004927/0.3638, allocations: 172.4 kB / 455.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008551/0.3646, allocations: 0.5094 MB / 456.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006655/0.3653, allocations: 0.5356 MB / 456.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-05/0.3654, allocations: 59.94 kB / 456.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.3674, allocations: 0.7766 MB / 457.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.3676, allocations: 186.8 kB / 457.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006577/0.3683, allocations: 0.6715 MB / 458.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.371, allocations: 1.964 MB / 460.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.371, allocations: 0 / 460.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.371, allocations: 0 / 460.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.371, allocations: 0 / 460.4 MB, free: 10.25 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.003045/0.374, allocations: 1.967 MB / 462.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3741, allocations: 8.031 kB / 462.4 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.3742, allocations: 90.7 kB / 462.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.3745, allocations: 207.7 kB / 462.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.3766, allocations: 1.251 MB / 463.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.3767, allocations: 29 kB / 464 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.3768, allocations: 48 kB / 464 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3778, allocations: 0.5119 MB / 464.5 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3778, allocations: 3.938 kB / 464.5 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.3778, allocations: 16 kB / 464.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.3779, allocations: 16 kB / 464.6 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.3789, allocations: 480.1 kB / 465 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.3824, allocations: 2.05 MB / 467.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009906/0.3834, allocations: 0.5042 MB / 467.6 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.3841, allocations: 470.1 kB / 468.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005094/0.3892, allocations: 2.334 MB / 470.4 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006793/0.3899, allocations: 313.6 kB / 470.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.374e-06/0.3899, allocations: 0 / 470.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005422/0.3953, allocations: 2.278 MB / 473 MB, free: 13.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.3954, allocations: 63.78 kB / 473 MB, free: 13.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.397, allocations: 1.288 MB / 474.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.3971, allocations: 37.7 kB / 474.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/0.3977, allocations: 0.708 MB / 475.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.3979, allocations: 230 kB / 475.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.3981, allocations: 118.3 kB / 475.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3982, allocations: 334 kB / 475.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.3987, allocations: 217.5 kB / 475.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.3993, allocations: 360.5 kB / 476.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.4003, allocations: 0.6164 MB / 476.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4003, allocations: 7.938 kB / 476.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001696/0.402, allocations: 0.9643 MB / 477.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.402, allocations: 18.62 kB / 477.9 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.931e-05/0.4021, allocations: 64 kB / 478 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000511/0.4026, allocations: 182.9 kB / 478.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.4031, allocations: 107.8 kB / 478.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.4065, allocations: 2.656 MB / 480.9 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.407, allocations: 28.03 kB / 480.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.407, allocations: 28 kB / 481 MB, free: 5.176 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.0004453/0.4075, allocations: 273.7 kB / 481.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.4077, allocations: 190.8 kB / 481.4 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.4096, allocations: 0.9619 MB / 482.4 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4096, allocations: 4 kB / 482.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.4096, allocations: 4 kB / 482.4 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4096, allocations: 0 / 482.4 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.4107, allocations: 0.8777 MB / 483.3 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-05/0.4108, allocations: 63.98 kB / 483.3 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.4111, allocations: 63.89 kB / 483.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/0.4116, allocations: 175.5 kB / 483.6 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.4116, allocations: 31.91 kB / 483.6 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00327/0.4149, allocations: 2.646 MB / 486.2 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4149, allocations: 0 / 486.2 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.417, allocations: 1.18 MB / 487.4 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.4174, allocations: 186.8 kB / 487.6 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4176, allocations: 15.94 kB / 487.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.4179, allocations: 27.97 kB / 487.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.418, allocations: 48.36 kB / 487.7 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.4181, allocations: 23.98 kB / 487.7 MB, free: 14.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001142/0.4192, allocations: 0.8535 MB / 488.6 MB, free: 13.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4192, allocations: 0 / 488.6 MB, free: 13.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000939/0.4202, allocations: 391.2 kB / 488.9 MB, free: 12.99 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.003124/0.4233, allocations: 2.085 MB / 491 MB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.4251, allocations: 0.8824 MB / 491.9 MB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4251, allocations: 0 / 491.9 MB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.4261, allocations: 0.6081 MB / 492.5 MB, free: 9.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.427, allocations: 224.8 kB / 492.7 MB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.441, allocations: 9.438 MB / 0.4904 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/0.4418, allocations: 1.17 MB / 0.4916 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005112/0.4423, allocations: 187.2 kB / 0.4917 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006467/0.4429, allocations: 0.5696 MB / 0.4923 GB, free: 13.41 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.443, allocations: 0 / 0.4923 GB, free: 13.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07444/0.5174, allocations: 30.39 MB / 0.522 GB, free: 15.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.31, allocations: 8.062 kB / 0.522 GB, free: 15.23 MB / 446.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.998e-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: 16.831955605186522] Failed to read output from testmodel.py, exit status != 0: ['time', 'T1.vbe', 'T2.vbe'] 14.414309825748205 14.4380945 14.062050688 Calling exit ...