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.001551/0.001551, allocations: 116.4 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.001846/0.001846, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.448/1.448, allocations: 230.5 MB / 254.7 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.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.001949/0.001949, allocations: 67.84 kB / 373.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1072, allocations: 53.32 MB / 426.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008264/0.1155, allocations: 7.543 MB / 434.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.1286, allocations: 10.78 MB / 445.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.1299, allocations: 75.31 kB / 445.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.1319, allocations: 0.7101 MB / 446 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003895/0.1358, allocations: 1.196 MB / 447.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2214/0.3572, allocations: 0.6672 MB / 447.8 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004081/0.3612, allocations: 2.577 MB / 450.4 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.3616, allocations: 177.1 kB / 450.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007438/0.3623, allocations: 0.4942 MB / 451.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.3629, allocations: 0.5332 MB / 451.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.363, allocations: 59.06 kB / 451.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.3651, allocations: 0.7713 MB / 452.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.3653, allocations: 188.4 kB / 452.6 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006752/0.3659, allocations: 0.6704 MB / 453.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.369, allocations: 1.962 MB / 455.3 MB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.369, allocations: 1.469 kB / 455.3 MB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.369, allocations: 0 / 455.3 MB, free: 8.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.586e-05/0.369, allocations: 2.594 kB / 455.3 MB, free: 8.453 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.00365/0.3727, allocations: 2.045 MB / 457.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3727, allocations: 9.469 kB / 457.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.3728, allocations: 87.81 kB / 457.4 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.3731, allocations: 208.5 kB / 457.6 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.3753, allocations: 1.35 MB / 459 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.3753, allocations: 34.05 kB / 459 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.3754, allocations: 48.58 kB / 459 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000929/0.3764, allocations: 0.5167 MB / 459.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3764, allocations: 3.938 kB / 459.6 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.3764, allocations: 18.8 kB / 459.6 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.3764, allocations: 16.95 kB / 459.6 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008716/0.3773, allocations: 469.7 kB / 460.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.3805, allocations: 2.101 MB / 462.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.3814, allocations: 0.6462 MB / 462.8 MB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007261/0.3821, allocations: 460.2 kB / 463.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006485/0.3886, allocations: 4.921 MB / 468.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.3893, allocations: 308.9 kB / 468.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 3.266e-06/0.3893, allocations: 0 / 468.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005152/0.3944, allocations: 2.433 MB / 470.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.3945, allocations: 57.5 kB / 471 MB, free: 15.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.3964, allocations: 1.285 MB / 472.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/0.3964, allocations: 36.42 kB / 472.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.3971, allocations: 0.6994 MB / 473 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.3973, allocations: 236.2 kB / 473.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.3975, allocations: 131.4 kB / 473.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3977, allocations: 335.1 kB / 473.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006/0.3983, allocations: 214 kB / 473.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/0.3989, allocations: 363.3 kB / 474.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.3999, allocations: 0.6165 MB / 474.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3999, allocations: 0 / 474.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001965/0.4019, allocations: 0.9646 MB / 475.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4019, allocations: 8.219 kB / 475.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/0.402, allocations: 69.47 kB / 475.9 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/0.4025, allocations: 183.8 kB / 476.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.4029, allocations: 105.9 kB / 476.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.4066, allocations: 2.77 MB / 478.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.4074, allocations: 24.8 kB / 479 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.4074, allocations: 34 kB / 479 MB, free: 10.45 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.0005518/0.408, allocations: 266.2 kB / 479.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.4083, allocations: 190.9 kB / 479.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.4102, allocations: 0.9677 MB / 480.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.4102, allocations: 7.375 kB / 480.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4102, allocations: 2.25 kB / 480.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4102, allocations: 2.844 kB / 480.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.4115, allocations: 0.9027 MB / 481.3 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.418e-05/0.4116, allocations: 59.91 kB / 481.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.4119, allocations: 66.12 kB / 481.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.4123, allocations: 167.6 kB / 481.6 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.4124, allocations: 27.66 kB / 481.6 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003402/0.4158, allocations: 2.759 MB / 484.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4158, allocations: 0 / 484.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.4179, allocations: 1.187 MB / 485.6 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/0.4184, allocations: 267.7 kB / 485.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.4186, allocations: 14.69 kB / 485.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.4189, allocations: 25.23 kB / 485.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.4191, allocations: 47.03 kB / 485.9 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.4191, allocations: 23.78 kB / 486 MB, free: 6.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.4202, allocations: 0.8555 MB / 486.8 MB, free: 5.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4202, allocations: 4 kB / 486.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4213, allocations: 386.5 kB / 487.2 MB, free: 5.871 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.003198/0.4245, allocations: 2.088 MB / 489.3 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.4262, allocations: 0.8755 MB / 490.2 MB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4262, allocations: 4.062 kB / 490.2 MB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009909/0.4272, allocations: 0.6139 MB / 490.8 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/0.4282, allocations: 212.6 kB / 491 MB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.4424, allocations: 9.441 MB / 0.4887 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/0.4433, allocations: 1.174 MB / 0.4898 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000538/0.4438, allocations: 185.5 kB / 0.49 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/0.4445, allocations: 0.5696 MB / 0.4906 GB, free: 9.066 MB / 398.1 MB Notification: Performance of SimCode: time 1.803e-06/0.4445, allocations: 0 / 0.4906 GB, free: 9.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.549, allocations: 29.93 MB / 0.5198 GB, free: 11.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.51, allocations: 3.984 kB / 0.5198 GB, free: 11.39 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Oscillator_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-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: 15.895939472131431] Failed to read output from testmodel.py, exit status != 0: ['time', 'T1.vbe', 'T2.vbe'] 13.61265227990225 13.634514823 13.26236604 Calling exit ...