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.001385/0.001385, allocations: 121.2 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.00148/0.00148, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.511/1.511, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001984/0.001984, allocations: 71.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1215, allocations: 53.33 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.2356/0.3572, allocations: 7.529 MB / 434.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.3687, allocations: 10.77 MB / 445.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.3704, allocations: 120.1 kB / 445.4 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.3726, allocations: 0.7142 MB / 446.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.3783, allocations: 1.197 MB / 447.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.3814, allocations: 0.681 MB / 448 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006943/0.3884, allocations: 2.567 MB / 450.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005549/0.3889, allocations: 180.5 kB / 450.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.3902, allocations: 0.5118 MB / 451.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.391, allocations: 0.5359 MB / 451.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3911, allocations: 55.97 kB / 451.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.3938, allocations: 0.7763 MB / 452.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.394, allocations: 183.7 kB / 452.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007591/0.3948, allocations: 0.6732 MB / 453.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.398, allocations: 1.96 MB / 455.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.398, allocations: 1.375 kB / 455.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.398, allocations: 0 / 455.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.817e-05/0.3981, allocations: 1.031 kB / 455.5 MB, free: 11.8 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.003755/0.4018, allocations: 2.04 MB / 457.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4019, allocations: 10.69 kB / 457.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.402, allocations: 87.59 kB / 457.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.4023, allocations: 211.5 kB / 457.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.4045, allocations: 1.363 MB / 459.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.4045, allocations: 29.81 kB / 459.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.4046, allocations: 50.69 kB / 459.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.4056, allocations: 0.5096 MB / 459.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4056, allocations: 1.078 kB / 459.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.4057, allocations: 19.97 kB / 459.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.4057, allocations: 14.23 kB / 459.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.4067, allocations: 483.6 kB / 460.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/0.4103, allocations: 2.1 MB / 462.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.4113, allocations: 0.6458 MB / 463 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/0.4121, allocations: 470.1 kB / 463.5 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006819/0.4189, allocations: 4.91 MB / 468.4 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006232/0.4195, allocations: 313.5 kB / 468.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 3.025e-06/0.4196, allocations: 4 kB / 468.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005607/0.4252, allocations: 2.422 MB / 471.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4252, allocations: 58.94 kB / 471.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.4271, allocations: 1.288 MB / 472.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.4272, allocations: 40.67 kB / 472.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007142/0.4279, allocations: 0.7029 MB / 473.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.4281, allocations: 227.5 kB / 473.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.4284, allocations: 123.9 kB / 473.5 MB, free: 15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4285, allocations: 335.9 kB / 473.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.429, allocations: 214.8 kB / 474.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.4296, allocations: 359.8 kB / 474.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.4307, allocations: 0.6177 MB / 475 MB, free: 13.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4307, allocations: 3.938 kB / 475 MB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001747/0.4325, allocations: 0.9566 MB / 476 MB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4325, allocations: 8.781 kB / 476 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.752e-05/0.4326, allocations: 63.84 kB / 476.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/0.4331, allocations: 194.9 kB / 476.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.4336, allocations: 106.5 kB / 476.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.4371, allocations: 2.765 MB / 479.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.4379, allocations: 24.91 kB / 479.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.4379, allocations: 29.94 kB / 479.2 MB, free: 10.93 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.0005299/0.4385, allocations: 282 kB / 479.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.4387, allocations: 190.4 kB / 479.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.4408, allocations: 0.9603 MB / 480.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.4408, allocations: 9.078 kB / 480.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4408, allocations: 4 kB / 480.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4408, allocations: 3.938 kB / 480.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.4421, allocations: 0.9029 MB / 481.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.411e-05/0.4422, allocations: 63.98 kB / 481.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.4425, allocations: 67.89 kB / 481.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.443, allocations: 172.7 kB / 481.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.443, allocations: 23.94 kB / 481.8 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/0.4465, allocations: 2.753 MB / 484.6 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4466, allocations: 0 / 484.6 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.4488, allocations: 1.194 MB / 485.8 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.4493, allocations: 260 kB / 486 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.4495, allocations: 15.94 kB / 486.1 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.4498, allocations: 15.98 kB / 486.1 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.45, allocations: 52.38 kB / 486.1 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.45, allocations: 27.98 kB / 486.2 MB, free: 4.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001221/0.4513, allocations: 0.8496 MB / 487 MB, free: 3.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4513, allocations: 0 / 487 MB, free: 3.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001297/0.4526, allocations: 395.2 kB / 487.4 MB, free: 2.887 MB / 382.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.003513/0.4561, allocations: 2.077 MB / 489.5 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.458, allocations: 0.886 MB / 490.4 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.458, allocations: 0 / 490.4 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.4591, allocations: 0.6041 MB / 491 MB, free: 15.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4601, allocations: 218 kB / 491.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.4747, allocations: 9.442 MB / 0.4889 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008707/0.4756, allocations: 1.17 MB / 0.49 GB, free: 4.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005449/0.4761, allocations: 191.1 kB / 0.4902 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006743/0.4768, allocations: 0.5657 MB / 0.4908 GB, free: 3.336 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4768, allocations: 0 / 0.4908 GB, free: 3.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07621/0.553, allocations: 29.91 MB / 0.52 GB, free: 5.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.73, allocations: 15.61 kB / 0.52 GB, free: 5.648 MB / 430.1 MB " [Timeout remaining time 645] (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: 17.39073203364387] Failed to read output from testmodel.py, exit status != 0: ['time', 'T1.vbe', 'T2.vbe'] 14.837939667049795 14.87249252 14.468551684 Calling exit ...