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.001766/0.001766, 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.002204/0.002204, 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.002012/0.002012, allocations: 60.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2738, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01002/0.2838, allocations: 8.373 MB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.3, allocations: 11.39 MB / 451.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.3023, allocations: 87.06 kB / 451.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.3055, allocations: 0.8517 MB / 452.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.3119, allocations: 1.248 MB / 453.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.3147, allocations: 0.7111 MB / 454.6 MB, free: 140 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005374/0.3201, allocations: 2.73 MB / 457.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/0.3208, allocations: 234.2 kB / 457.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.3219, allocations: 0.5871 MB / 458.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.3231, allocations: 0.621 MB / 458.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.3233, allocations: 68 kB / 458.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.3255, allocations: 0.7923 MB / 459.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.3258, allocations: 210.7 kB / 459.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009191/0.3267, allocations: 0.7802 MB / 460.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.3301, allocations: 2.139 MB / 462.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3301, allocations: 0 / 462.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3301, allocations: 0 / 462.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.575e-05/0.3301, allocations: 0 / 462.7 MB, free: 7.93 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.003907/0.3341, allocations: 2.213 MB / 464.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3341, allocations: 8.031 kB / 465 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.3342, allocations: 106.7 kB / 465.1 MB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005211/0.3348, allocations: 255.4 kB / 465.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.3371, allocations: 1.219 MB / 466.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.3371, allocations: 41.31 kB / 466.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3372, allocations: 52 kB / 466.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.3387, allocations: 0.6978 MB / 467.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3387, allocations: 0 / 467.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/0.3388, allocations: 20 kB / 467.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.3388, allocations: 23.98 kB / 467.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.3401, allocations: 0.5673 MB / 467.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.3442, allocations: 2.468 MB / 470.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.3455, allocations: 0.5683 MB / 471 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/0.3464, allocations: 498 kB / 471.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006319/0.3527, allocations: 2.727 MB / 474.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000884/0.3536, allocations: 406.9 kB / 474.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.096e-06/0.3536, allocations: 0 / 474.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006875/0.3605, allocations: 2.322 MB / 476.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/0.3606, allocations: 85.61 kB / 477 MB, free: 9.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.3625, allocations: 1.426 MB / 478.4 MB, free: 7.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/0.3626, allocations: 41.64 kB / 478.4 MB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007615/0.3634, allocations: 0.7946 MB / 479.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.3636, allocations: 253.8 kB / 479.5 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.3639, allocations: 142.6 kB / 479.6 MB, free: 6.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.364, allocations: 341.9 kB / 480 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.3647, allocations: 261.9 kB / 480.2 MB, free: 6.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/0.3655, allocations: 442 kB / 480.6 MB, free: 5.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.369, allocations: 1.552 MB / 482.2 MB, free: 3.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.369, allocations: 4 kB / 482.2 MB, free: 3.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002395/0.3714, allocations: 1.13 MB / 483.3 MB, free: 2.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3714, allocations: 8 kB / 483.3 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/0.3716, allocations: 88.52 kB / 483.4 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.3727, allocations: 0.5951 MB / 484 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.3732, allocations: 135.8 kB / 484.2 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.3749, allocations: 1.533 MB / 485.7 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.3756, allocations: 87.42 kB / 485.8 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.3757, allocations: 40 kB / 485.8 MB, free: 232 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.0006467/0.3763, allocations: 297.4 kB / 486.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.3766, allocations: 214.7 kB / 486.3 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.3791, allocations: 1.122 MB / 487.4 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.3791, allocations: 12 kB / 487.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3791, allocations: 3.938 kB / 487.5 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3791, allocations: 7.922 kB / 487.5 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.3805, allocations: 0.9706 MB / 488.4 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001231/0.3806, allocations: 75.98 kB / 488.5 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.381, allocations: 63.94 kB / 488.6 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.3823, allocations: 0.6553 MB / 489.2 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.3823, allocations: 20 kB / 489.2 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.3839, allocations: 1.145 MB / 490.4 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3839, allocations: 0 / 490.4 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.3868, allocations: 1.402 MB / 491.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005716/0.3873, allocations: 226.5 kB / 492 MB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.3876, allocations: 15.94 kB / 492 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.388, allocations: 43.89 kB / 492.1 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.3882, allocations: 48.42 kB / 492.1 MB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.3883, allocations: 27.98 kB / 492.1 MB, free: 9.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001476/0.3897, allocations: 0.9406 MB / 493.1 MB, free: 8.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3897, allocations: 0 / 493.1 MB, free: 8.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001088/0.3908, allocations: 438.9 kB / 493.5 MB, free: 8.383 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.004087/0.3949, allocations: 2.36 MB / 495.9 MB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.397, allocations: 0.8189 MB / 496.7 MB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.397, allocations: 4.062 kB / 496.7 MB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.3983, allocations: 0.4998 MB / 497.2 MB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.3994, allocations: 214.1 kB / 497.4 MB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/0.4178, allocations: 10.71 MB / 0.4962 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009912/0.4187, allocations: 1.224 MB / 0.4974 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005342/0.4193, allocations: 162.1 kB / 0.4976 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008289/0.4201, allocations: 0.6477 MB / 0.4982 GB, free: 7.332 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4201, allocations: 4 kB / 0.4982 GB, free: 7.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08903/0.5091, allocations: 33.88 MB / 0.5313 GB, free: 5.684 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/17.02, allocations: 6.828 kB / 0.5313 GB, free: 5.684 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.716238313820213] 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.138704627752304 17.366151417 17.033146412 Calling exit ...