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.001689/0.001689, allocations: 105.1 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.0023/0.0023, allocations: 213.9 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.00201/0.00201, allocations: 68.77 kB / 378.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3482, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01015/0.3584, allocations: 8.368 MB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.3743, allocations: 11.39 MB / 451.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.3761, allocations: 87.06 kB / 451.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.3788, allocations: 0.8479 MB / 452.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005222/0.384, allocations: 1.252 MB / 453.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.3865, allocations: 0.7111 MB / 454.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005682/0.3922, allocations: 2.73 MB / 457.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.3929, allocations: 234.2 kB / 457.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.394, allocations: 0.5754 MB / 458.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.395, allocations: 0.6288 MB / 458.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.3952, allocations: 68 kB / 458.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.3974, allocations: 0.7923 MB / 459.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.3977, allocations: 218.7 kB / 459.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.3987, allocations: 0.7646 MB / 460.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.4023, allocations: 2.147 MB / 462.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4023, allocations: 0 / 462.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4023, allocations: 0 / 462.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.419e-05/0.4024, allocations: 0 / 462.7 MB, free: 7.938 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.004092/0.4065, allocations: 2.209 MB / 464.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4065, allocations: 16.03 kB / 465 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.4067, allocations: 102.6 kB / 465.1 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.4072, allocations: 247.5 kB / 465.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.4096, allocations: 1.223 MB / 466.5 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.4097, allocations: 41.31 kB / 466.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.4098, allocations: 59.94 kB / 466.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.4113, allocations: 0.6939 MB / 467.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4113, allocations: 0 / 467.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.4114, allocations: 20 kB / 467.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.4114, allocations: 19.98 kB / 467.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.4128, allocations: 0.5673 MB / 467.9 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.4169, allocations: 2.471 MB / 470.4 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.4181, allocations: 0.5761 MB / 471 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009031/0.419, allocations: 494 kB / 471.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006174/0.4252, allocations: 2.738 MB / 474.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008521/0.4261, allocations: 402.9 kB / 474.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.866e-06/0.4261, allocations: 0 / 474.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006971/0.433, allocations: 2.317 MB / 476.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.4331, allocations: 85.59 kB / 477 MB, free: 9.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.435, allocations: 1.426 MB / 478.4 MB, free: 7.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.4351, allocations: 37.7 kB / 478.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007613/0.4358, allocations: 0.7947 MB / 479.2 MB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.4361, allocations: 257.8 kB / 479.5 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.4363, allocations: 142.6 kB / 479.6 MB, free: 6.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4365, allocations: 341.9 kB / 480 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.4371, allocations: 257.9 kB / 480.2 MB, free: 6.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/0.4379, allocations: 450 kB / 480.7 MB, free: 5.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00344/0.4413, allocations: 1.548 MB / 482.2 MB, free: 3.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4413, allocations: 0 / 482.2 MB, free: 3.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002293/0.4436, allocations: 1.13 MB / 483.3 MB, free: 2.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.4437, allocations: 12.09 kB / 483.3 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.4438, allocations: 79.98 kB / 483.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.4449, allocations: 0.6008 MB / 484 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.4455, allocations: 135.8 kB / 484.2 MB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.4471, allocations: 1.53 MB / 485.7 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.4478, allocations: 95.42 kB / 485.8 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.4479, allocations: 36 kB / 485.8 MB, free: 236 kB / 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.0006188/0.4485, allocations: 301.4 kB / 486.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.4488, allocations: 210.7 kB / 486.3 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.4513, allocations: 1.118 MB / 487.4 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4513, allocations: 8 kB / 487.4 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4513, allocations: 3.938 kB / 487.4 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4513, allocations: 3.984 kB / 487.5 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.4528, allocations: 0.9667 MB / 488.4 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001264/0.453, allocations: 83.98 kB / 488.5 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.4533, allocations: 59.94 kB / 488.6 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.4546, allocations: 0.6553 MB / 489.2 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.4546, allocations: 20 kB / 489.2 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.4561, allocations: 1.149 MB / 490.4 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4561, allocations: 0 / 490.4 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/0.459, allocations: 1.41 MB / 491.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.4596, allocations: 222.5 kB / 492 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.4598, allocations: 15.94 kB / 492 MB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.4603, allocations: 35.95 kB / 492.1 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.4604, allocations: 56.41 kB / 492.1 MB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.4605, allocations: 27.94 kB / 492.1 MB, free: 9.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.462, allocations: 0.9445 MB / 493.1 MB, free: 8.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.462, allocations: 3.938 kB / 493.1 MB, free: 8.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001109/0.4631, allocations: 431 kB / 493.5 MB, free: 8.391 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.004138/0.4672, allocations: 2.36 MB / 495.9 MB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.4694, allocations: 0.8226 MB / 496.7 MB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4694, allocations: 0 / 496.7 MB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.4706, allocations: 0.5 MB / 497.2 MB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.4717, allocations: 211.2 kB / 497.4 MB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/0.4904, allocations: 10.7 MB / 0.4962 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009231/0.4913, allocations: 1.224 MB / 0.4974 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005559/0.4919, allocations: 162.1 kB / 0.4975 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/0.4927, allocations: 0.6516 MB / 0.4982 GB, free: 7.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4927, allocations: 0 / 0.4982 GB, free: 7.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08542/0.5781, allocations: 33.89 MB / 0.5313 GB, free: 5.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/16.37, allocations: 7.734 kB / 0.5313 GB, free: 5.688 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: 19.186200174037367] 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.485160062089562 16.785090879 16.379869311 Calling exit ...