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.00173/0.00173, allocations: 110.5 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.00209/0.00209, allocations: 213.2 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001974/0.001974, allocations: 68.77 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2967, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009737/0.3064, allocations: 7.555 MB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.3225, allocations: 10.79 MB / 450.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.3242, allocations: 122.6 kB / 450.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.327, allocations: 0.7094 MB / 451.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005126/0.3321, allocations: 1.202 MB / 452.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.3347, allocations: 0.6878 MB / 453 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00519/0.3399, allocations: 2.571 MB / 455.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.3404, allocations: 184.3 kB / 455.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008521/0.3413, allocations: 0.5054 MB / 456.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.342, allocations: 0.5434 MB / 456.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3421, allocations: 56 kB / 456.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.344, allocations: 0.7727 MB / 457.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.3442, allocations: 178.8 kB / 457.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007142/0.3449, allocations: 0.6832 MB / 458.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.3478, allocations: 1.952 MB / 460.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3478, allocations: 3.984 kB / 460.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3478, allocations: 4 kB / 460.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.129e-05/0.3478, 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.003188/0.351, allocations: 1.967 MB / 462.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3511, allocations: 12.03 kB / 462.4 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.3512, allocations: 86.7 kB / 462.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.3514, allocations: 207.7 kB / 462.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.3535, allocations: 1.247 MB / 463.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.3535, allocations: 36.94 kB / 464 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.3536, allocations: 44 kB / 464 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.3546, allocations: 0.5158 MB / 464.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3547, allocations: 4 kB / 464.5 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.3547, allocations: 16 kB / 464.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.3547, allocations: 16 kB / 464.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009584/0.3557, allocations: 484 kB / 465 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.3589, allocations: 2.058 MB / 467.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.3599, allocations: 0.4996 MB / 467.6 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007733/0.3607, allocations: 474.1 kB / 468.1 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004948/0.3656, allocations: 2.334 MB / 470.4 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006413/0.3663, allocations: 309.6 kB / 470.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 4.579e-06/0.3663, allocations: 3.984 kB / 470.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005076/0.3713, allocations: 2.278 MB / 473 MB, free: 13.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.3714, allocations: 63.83 kB / 473 MB, free: 13.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.3731, allocations: 1.284 MB / 474.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.3731, allocations: 37.7 kB / 474.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006503/0.3738, allocations: 0.7041 MB / 475.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.374, allocations: 234 kB / 475.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.3742, allocations: 126.3 kB / 475.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3743, allocations: 330 kB / 475.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.3748, allocations: 217.5 kB / 475.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.3754, allocations: 360.5 kB / 476.3 MB, free: 10 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.3765, allocations: 0.6164 MB / 476.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.3765, allocations: 7.938 kB / 476.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001809/0.3783, allocations: 0.96 MB / 477.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3783, allocations: 8 kB / 477.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.3784, allocations: 64 kB / 478 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/0.3789, allocations: 187.2 kB / 478.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.3794, allocations: 107.8 kB / 478.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.3829, allocations: 2.66 MB / 480.9 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.3835, allocations: 28.03 kB / 480.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.3836, allocations: 28 kB / 481 MB, free: 5.172 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.0005338/0.3841, allocations: 273.7 kB / 481.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.3843, allocations: 190.8 kB / 481.4 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.3863, allocations: 0.9736 MB / 482.4 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3863, allocations: 4 kB / 482.4 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3863, allocations: 4 kB / 482.4 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3864, allocations: 0 / 482.4 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3875, allocations: 0.8699 MB / 483.3 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.383e-05/0.3876, allocations: 63.92 kB / 483.3 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.3879, allocations: 63.95 kB / 483.4 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004688/0.3884, allocations: 175.7 kB / 483.6 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.3884, allocations: 27.94 kB / 483.6 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/0.3918, allocations: 2.656 MB / 486.2 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3918, allocations: 3.938 kB / 486.2 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.3941, allocations: 1.184 MB / 487.4 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.3944, allocations: 186.8 kB / 487.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.3946, allocations: 15.94 kB / 487.6 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.3949, allocations: 15.98 kB / 487.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.395, allocations: 56.34 kB / 487.7 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.3951, allocations: 23.98 kB / 487.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.3963, allocations: 0.8496 MB / 488.6 MB, free: 13.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3963, allocations: 4 kB / 488.6 MB, free: 13.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001031/0.3974, allocations: 395.2 kB / 489 MB, free: 12.98 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.003234/0.4006, allocations: 2.081 MB / 491 MB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.4024, allocations: 0.8863 MB / 491.9 MB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4024, allocations: 64 / 491.9 MB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.4035, allocations: 0.6081 MB / 492.5 MB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009428/0.4045, allocations: 206.1 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.0144/0.4189, allocations: 9.45 MB / 0.4904 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008936/0.4198, allocations: 1.17 MB / 0.4916 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005336/0.4203, allocations: 187.2 kB / 0.4917 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/0.421, allocations: 0.5696 MB / 0.4923 GB, free: 13.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.421, allocations: 0 / 0.4923 GB, free: 13.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0816/0.5026, allocations: 30.38 MB / 0.522 GB, free: 15.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.98, allocations: 8 kB / 0.522 GB, free: 15.22 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 & /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: 16.463665363844484] Failed to read output from testmodel.py, exit status != 0: ['time', 'T1.vbe', 'T2.vbe'] 14.078815763816237 14.101603608 13.747728548 Calling exit ...