Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.001496/0.001496, allocations: 118.7 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.001704/0.001704, allocations: 210.5 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.53/1.53, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",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.001916/0.001916, allocations: 71.83 kB / 373.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 53.31 MB / 426.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2102/0.3197, allocations: 8.353 MB / 435.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.3318, allocations: 11.37 MB / 446.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.3337, allocations: 55.41 kB / 446.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.3366, allocations: 0.8553 MB / 447.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.3421, allocations: 1.232 MB / 448.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.3451, allocations: 0.7036 MB / 449.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005282/0.3503, allocations: 2.731 MB / 452.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000521/0.3509, allocations: 234.5 kB / 452.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.352, allocations: 0.5606 MB / 453 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009264/0.3529, allocations: 0.6196 MB / 453.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.353, allocations: 69.69 kB / 453.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.3553, allocations: 0.794 MB / 454.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.3556, allocations: 214.9 kB / 454.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009611/0.3566, allocations: 0.7665 MB / 455.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003995/0.3605, allocations: 2.142 MB / 457.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3606, allocations: 1.406 kB / 457.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3606, allocations: 0 / 457.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.058e-05/0.3606, allocations: 3.938 kB / 457.6 MB, free: 10.54 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004273/0.3649, allocations: 2.284 MB / 459.9 MB, free: 9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3649, allocations: 9.312 kB / 459.9 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.3651, allocations: 105.8 kB / 460 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004952/0.3656, allocations: 245.5 kB / 460.2 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.3679, allocations: 1.318 MB / 461.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.368, allocations: 44.45 kB / 461.6 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3681, allocations: 56.73 kB / 461.6 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.3694, allocations: 0.6865 MB / 462.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3695, allocations: 3.938 kB / 462.3 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/0.3695, allocations: 24.45 kB / 462.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.3695, allocations: 17.41 kB / 462.4 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.3708, allocations: 0.5732 MB / 462.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004189/0.375, allocations: 2.52 MB / 465.5 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.3762, allocations: 0.5736 MB / 466 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008474/0.377, allocations: 492.5 kB / 466.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00845/0.3855, allocations: 5.885 MB / 472.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008852/0.3864, allocations: 403.5 kB / 472.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.595e-06/0.3864, allocations: 7.875 kB / 472.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006924/0.3933, allocations: 2.403 MB / 475.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.3934, allocations: 84.67 kB / 475.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.3953, allocations: 1.426 MB / 476.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.818e-05/0.3954, allocations: 37.48 kB / 476.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007436/0.3961, allocations: 0.7974 MB / 477.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.3964, allocations: 257.5 kB / 477.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.3966, allocations: 140.7 kB / 477.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3967, allocations: 337.1 kB / 478.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.3973, allocations: 264.2 kB / 478.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007054/0.398, allocations: 443 kB / 479 MB, free: 11.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003232/0.4012, allocations: 1.554 MB / 480.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4012, allocations: 0 / 480.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002368/0.4036, allocations: 1.133 MB / 481.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4036, allocations: 10.19 kB / 481.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.4038, allocations: 85.95 kB / 481.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.4048, allocations: 0.6032 MB / 482.3 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.4053, allocations: 136.8 kB / 482.5 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.4069, allocations: 1.526 MB / 484 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/0.4079, allocations: 95.56 kB / 484.1 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/0.408, allocations: 35.98 kB / 484.1 MB, free: 6.301 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) type: Real Q2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,12), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006575/0.4086, allocations: 296.8 kB / 484.4 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.4089, allocations: 210.7 kB / 484.6 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.4113, allocations: 1.129 MB / 485.7 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4113, allocations: 8 kB / 485.8 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4113, allocations: 0 / 485.8 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4113, allocations: 3.984 kB / 485.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.4126, allocations: 0.9986 MB / 486.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001219/0.4127, allocations: 79.98 kB / 486.8 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.4131, allocations: 67.94 kB / 486.9 MB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.4142, allocations: 0.6475 MB / 487.6 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.4143, allocations: 23.98 kB / 487.6 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.4156, allocations: 1.141 MB / 488.7 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4156, allocations: 3.984 kB / 488.7 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.4183, allocations: 1.418 MB / 490.1 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/0.4189, allocations: 291.8 kB / 490.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.4191, allocations: 15.75 kB / 490.4 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.4195, allocations: 35.95 kB / 490.5 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.4197, allocations: 52.5 kB / 490.5 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.4197, allocations: 23.98 kB / 490.5 MB, free: 15.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001411/0.4211, allocations: 0.9406 MB / 491.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4211, allocations: 4 kB / 491.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001062/0.4222, allocations: 442.9 kB / 491.9 MB, free: 14.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(3,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003963/0.4262, allocations: 2.347 MB / 494.3 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.4282, allocations: 0.819 MB / 495.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4282, allocations: 0 / 495.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.4294, allocations: 0.5081 MB / 495.6 MB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.4306, allocations: 223.3 kB / 495.8 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.4475, allocations: 10.72 MB / 0.4947 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008673/0.4484, allocations: 1.224 MB / 0.4959 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004784/0.4489, allocations: 158.1 kB / 0.496 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007233/0.4496, allocations: 0.6477 MB / 0.4966 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4496, allocations: 0 / 0.4966 GB, free: 13.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08292/0.5325, allocations: 33.26 MB / 0.5291 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/16.05, allocations: 8.875 kB / 0.5291 GB, free: 12.34 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.582415951881558] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe', 'Q2.vbc', 'Q2.vbe', 'VCC.T0', 'VCC.counter', 'VCC.counter2', 'VEE.T0', 'VEE.counter', 'VEE.counter2'] 16.16636884212494 16.182995849 15.818909494 Calling exit ...