Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 254.1 MB, free: 15.11 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 55.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1016, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2109/0.3126, allocations: 8.34 MB / 434.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3241, allocations: 11.37 MB / 446 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.3255, allocations: 86.47 kB / 446.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.328, allocations: 0.8524 MB / 447 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.3333, allocations: 1.232 MB / 448.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.3358, allocations: 0.7116 MB / 448.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004976/0.3408, allocations: 2.727 MB / 451.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.3413, allocations: 234.8 kB / 451.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009463/0.3422, allocations: 0.582 MB / 452.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007801/0.343, allocations: 0.6181 MB / 453.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3431, allocations: 66.56 kB / 453.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.3453, allocations: 0.7894 MB / 453.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.3455, allocations: 223.1 kB / 454.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008945/0.3464, allocations: 0.7717 MB / 454.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.3497, allocations: 2.137 MB / 457.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3497, allocations: 1.375 kB / 457.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3497, allocations: 0 / 457.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.671e-05/0.3498, allocations: 0.5156 kB / 457.1 MB, free: 10.32 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.004121/0.3539, allocations: 2.281 MB / 459.3 MB, free: 8.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3539, allocations: 13.91 kB / 459.4 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.3541, allocations: 108.9 kB / 459.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004695/0.3545, allocations: 247.1 kB / 459.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.3566, allocations: 1.317 MB / 461 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.3566, allocations: 51.94 kB / 461.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3567, allocations: 53.58 kB / 461.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.3581, allocations: 0.6906 MB / 461.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3581, allocations: 1.25 kB / 461.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.3582, allocations: 19.88 kB / 461.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.3582, allocations: 22.33 kB / 461.9 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.3596, allocations: 0.5653 MB / 462.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/0.3634, allocations: 2.52 MB / 464.9 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.3647, allocations: 0.5727 MB / 465.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009122/0.3656, allocations: 485.1 kB / 466 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007833/0.3734, allocations: 5.897 MB / 471.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008512/0.3743, allocations: 397.1 kB / 472.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.735e-06/0.3743, allocations: 0 / 472.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.00712/0.3814, allocations: 2.408 MB / 474.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.3815, allocations: 84.61 kB / 474.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.3834, allocations: 1.426 MB / 476.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.3834, allocations: 37.73 kB / 476.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/0.3842, allocations: 0.7928 MB / 477 MB, free: 11.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.3844, allocations: 258.2 kB / 477.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.3846, allocations: 143.8 kB / 477.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3848, allocations: 341.5 kB / 477.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/0.3854, allocations: 260.5 kB / 478 MB, free: 11.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/0.3862, allocations: 444.3 kB / 478.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/0.3897, allocations: 1.553 MB / 480 MB, free: 9.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3897, allocations: 4 kB / 480 MB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00242/0.3921, allocations: 1.13 MB / 481.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3921, allocations: 15.98 kB / 481.1 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/0.3923, allocations: 80 kB / 481.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.3933, allocations: 0.6068 MB / 481.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.3939, allocations: 127.8 kB / 481.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.3955, allocations: 1.536 MB / 483.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009104/0.3964, allocations: 87.44 kB / 483.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.3965, allocations: 36.12 kB / 483.6 MB, free: 6.094 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.0006044/0.3971, allocations: 299.7 kB / 483.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.3974, allocations: 210.7 kB / 484.1 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.3999, allocations: 1.124 MB / 485.2 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3999, allocations: 11.94 kB / 485.2 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3999, allocations: 0 / 485.2 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.4, allocations: 3.984 kB / 485.2 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.4013, allocations: 0.9948 MB / 486.2 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000111/0.4014, allocations: 76 kB / 486.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.4018, allocations: 64.81 kB / 486.4 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.403, allocations: 0.6592 MB / 487 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.4031, allocations: 19.98 kB / 487 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.4045, allocations: 1.143 MB / 488.2 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4045, allocations: 0 / 488.2 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.4074, allocations: 1.412 MB / 489.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/0.4079, allocations: 297.1 kB / 489.9 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.4081, allocations: 23.94 kB / 489.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.4086, allocations: 31.97 kB / 489.9 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.4087, allocations: 52.48 kB / 490 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.4088, allocations: 27.94 kB / 490 MB, free: 15.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.4101, allocations: 0.9406 MB / 491 MB, free: 14.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4101, allocations: 0 / 491 MB, free: 14.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4112, allocations: 439 kB / 491.4 MB, free: 14.12 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.004119/0.4153, allocations: 2.342 MB / 493.7 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.4174, allocations: 0.8268 MB / 494.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4174, allocations: 0 / 494.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.4188, allocations: 0.5081 MB / 495.1 MB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4198, allocations: 206.7 kB / 495.3 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.4375, allocations: 10.73 MB / 0.4941 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/0.4384, allocations: 1.224 MB / 0.4953 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004809/0.4389, allocations: 162.1 kB / 0.4955 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007838/0.4397, allocations: 0.6516 MB / 0.4961 GB, free: 13.1 MB / 414.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4397, allocations: 0 / 0.4961 GB, free: 13.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09408/0.5338, allocations: 33.22 MB / 0.5286 GB, free: 12.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.26/16.79, allocations: 4 kB / 0.5286 GB, free: 12.15 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.346440121007618] 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.908190243004356 16.922073197 16.569417694 Calling exit ...