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.00146/0.00146, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001506/0.001506, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.531/1.531, 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.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.002027/0.002027, allocations: 83.8 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1308, allocations: 53.32 MB / 427 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2791/0.4099, allocations: 8.347 MB / 435.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.4235, allocations: 11.38 MB / 446.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.426, allocations: 87 kB / 446.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003045/0.429, allocations: 0.8556 MB / 447.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006516/0.4355, allocations: 1.232 MB / 448.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003321/0.4388, allocations: 0.7074 MB / 449.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005691/0.4445, allocations: 2.724 MB / 452.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005763/0.4451, allocations: 233.5 kB / 452.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.4464, allocations: 0.5862 MB / 453.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009647/0.4474, allocations: 0.6189 MB / 453.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.4475, allocations: 66.84 kB / 453.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.4501, allocations: 0.7883 MB / 454.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.4505, allocations: 219.2 kB / 454.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.4517, allocations: 0.7746 MB / 455.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00514/0.4568, allocations: 2.142 MB / 457.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4568, allocations: 0 / 457.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4568, allocations: 0 / 457.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.407e-05/0.4569, allocations: 0 / 457.8 MB, free: 10.28 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.005/0.4619, allocations: 2.284 MB / 460 MB, free: 8.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/0.4619, allocations: 10.75 kB / 460.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002179/0.4622, allocations: 105 kB / 460.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006225/0.4628, allocations: 248 kB / 460.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.4653, allocations: 1.319 MB / 461.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.4654, allocations: 38.88 kB / 461.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.4655, allocations: 57.27 kB / 461.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.4671, allocations: 0.6931 MB / 462.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4671, allocations: 0 / 462.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.4672, allocations: 23.83 kB / 462.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4672, allocations: 17.19 kB / 462.5 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.4686, allocations: 0.5738 MB / 463.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005279/0.4739, allocations: 2.519 MB / 465.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.4754, allocations: 0.5583 MB / 466.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009586/0.4764, allocations: 495.3 kB / 466.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009615/0.486, allocations: 5.892 MB / 472.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009709/0.487, allocations: 397.4 kB / 473 MB, free: 14.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.126e-06/0.487, allocations: 0.8125 kB / 473 MB, free: 14.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007664/0.4946, allocations: 2.406 MB / 475.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.4947, allocations: 94.14 kB / 475.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.4968, allocations: 1.425 MB / 476.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.809e-05/0.4969, allocations: 41.14 kB / 476.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/0.4977, allocations: 0.7888 MB / 477.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.498, allocations: 263.2 kB / 478 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.4982, allocations: 139.3 kB / 478.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4984, allocations: 340.6 kB / 478.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.499, allocations: 260.4 kB / 478.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/0.4998, allocations: 443 kB / 479.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.5035, allocations: 1.548 MB / 480.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5035, allocations: 7.938 kB / 480.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002723/0.5063, allocations: 1.137 MB / 481.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5063, allocations: 4.594 kB / 481.8 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/0.5064, allocations: 87.98 kB / 481.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.5075, allocations: 0.6016 MB / 482.5 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.5081, allocations: 139.8 kB / 482.6 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.5098, allocations: 1.518 MB / 484.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.511, allocations: 93.31 kB / 484.3 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.511, allocations: 39.94 kB / 484.3 MB, free: 6.07 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.000748/0.5118, allocations: 297 kB / 484.6 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.5122, allocations: 214.7 kB / 484.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.5148, allocations: 1.118 MB / 485.9 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.5148, allocations: 9.172 kB / 485.9 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5149, allocations: 2.188 kB / 485.9 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.5149, allocations: 7.984 kB / 485.9 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.5165, allocations: 0.9949 MB / 486.9 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001173/0.5166, allocations: 79.98 kB / 487 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.517, allocations: 63.94 kB / 487.1 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.5182, allocations: 0.6552 MB / 487.7 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.5183, allocations: 20 kB / 487.7 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.5198, allocations: 1.145 MB / 488.9 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5198, allocations: 0 / 488.9 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.5229, allocations: 1.406 MB / 490.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006817/0.5236, allocations: 299.6 kB / 490.6 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.5238, allocations: 15.94 kB / 490.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.5243, allocations: 39.95 kB / 490.6 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.5244, allocations: 49.3 kB / 490.7 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.5245, allocations: 28.86 kB / 490.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.526, allocations: 0.9367 MB / 491.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.526, allocations: 0 / 491.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001296/0.5273, allocations: 442.9 kB / 492.1 MB, free: 14.11 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.004452/0.5317, allocations: 2.346 MB / 494.4 MB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.534, allocations: 0.8268 MB / 495.3 MB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.534, allocations: 3.938 kB / 495.3 MB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5353, allocations: 0.5041 MB / 495.8 MB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5367, allocations: 214 kB / 496 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.557, allocations: 10.72 MB / 0.4948 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009904/0.558, allocations: 1.22 MB / 0.496 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005987/0.5586, allocations: 166.1 kB / 0.4962 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/0.5594, allocations: 0.6516 MB / 0.4968 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 1.473e-06/0.5594, allocations: 0 / 0.4968 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08296/0.6423, allocations: 33.24 MB / 0.5293 GB, free: 12.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/17.18, allocations: 7.859 kB / 0.5293 GB, free: 12.15 MB / 446.1 MB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.83471034327522] 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'] 17.30466907005757 17.331169216 16.869046826 Calling exit ...