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.00154/0.00154, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001471/0.001471, allocations: 207.4 kB / 23.72 MB, free: 4.379 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001558/0.001558, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.25, allocations: 53.37 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009131/0.2591, allocations: 7.15 MB / 438.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.2726, allocations: 9.849 MB / 448.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.2737, allocations: 87.06 kB / 448.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.2757, allocations: 0.7709 MB / 448.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.279, allocations: 1.252 MB / 450.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.2807, allocations: 0.707 MB / 450.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.2845, allocations: 2.723 MB / 453.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.2849, allocations: 234.2 kB / 453.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007646/0.2856, allocations: 0.5832 MB / 454.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.2864, allocations: 0.625 MB / 455.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.2865, allocations: 71.94 kB / 455.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.2881, allocations: 0.7454 MB / 455.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.2882, allocations: 218.6 kB / 456.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.2888, allocations: 0.5784 MB / 456.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.2912, allocations: 2.158 MB / 458.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2912, allocations: 3.938 kB / 458.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2912, allocations: 4 kB / 458.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.2913, allocations: 0 / 458.8 MB, free: 10.72 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.003498/0.2948, allocations: 2.213 MB / 461.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2948, allocations: 12.03 kB / 461.1 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.2949, allocations: 102.6 kB / 461.2 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.2953, allocations: 243.5 kB / 461.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.2973, allocations: 1.223 MB / 462.6 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.2974, allocations: 49.31 kB / 462.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2975, allocations: 52 kB / 462.7 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.2988, allocations: 0.7151 MB / 463.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2989, allocations: 0 / 463.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/0.2989, allocations: 20 kB / 463.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.299, allocations: 23.98 kB / 463.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.3003, allocations: 0.5672 MB / 464.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.3042, allocations: 2.327 MB / 466.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.3055, allocations: 0.5721 MB / 466.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009273/0.3064, allocations: 494.1 kB / 467.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006252/0.3126, allocations: 2.657 MB / 470.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/0.3135, allocations: 410.9 kB / 470.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.875e-06/0.3135, allocations: 0 / 470.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007122/0.3206, allocations: 2.31 MB / 472.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.3207, allocations: 89.61 kB / 472.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.3226, allocations: 1.434 MB / 474.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.3227, allocations: 41.69 kB / 474.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007594/0.3234, allocations: 0.7908 MB / 475.2 MB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.3237, allocations: 261.8 kB / 475.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.3239, allocations: 138.6 kB / 475.5 MB, free: 9.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3241, allocations: 341.9 kB / 475.9 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/0.3247, allocations: 265.8 kB / 476.1 MB, free: 9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008006/0.3255, allocations: 463.8 kB / 476.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/0.329, allocations: 1.556 MB / 478.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.329, allocations: 0 / 478.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00224/0.3312, allocations: 1.142 MB / 479.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3313, allocations: 8 kB / 479.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/0.3314, allocations: 83.94 kB / 479.4 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.3324, allocations: 0.5913 MB / 480 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.333, allocations: 135.8 kB / 480.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.3346, allocations: 1.526 MB / 481.6 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.3352, allocations: 83.48 kB / 481.7 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.3353, allocations: 32 kB / 481.7 MB, free: 3.188 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.0005378/0.3358, allocations: 308.3 kB / 482 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.336, allocations: 218.6 kB / 482.3 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.3385, allocations: 1.118 MB / 483.4 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.3385, allocations: 8 kB / 483.4 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3385, allocations: 0 / 483.4 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3385, allocations: 3.984 kB / 483.4 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.3396, allocations: 0.9042 MB / 484.3 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001211/0.3398, allocations: 76 kB / 484.4 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.3401, allocations: 67.94 kB / 484.4 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/0.3413, allocations: 0.6358 MB / 485.1 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/0.3414, allocations: 23.98 kB / 485.1 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.3427, allocations: 1.141 MB / 486.2 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3427, allocations: 0 / 486.2 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.3455, allocations: 1.413 MB / 487.6 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/0.346, allocations: 218.5 kB / 487.9 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.3462, allocations: 19.92 kB / 487.9 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.3466, allocations: 32.09 kB / 487.9 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.3468, allocations: 56.41 kB / 488 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.3468, allocations: 27.98 kB / 488 MB, free: 12.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001344/0.3482, allocations: 0.9406 MB / 488.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3482, allocations: 0 / 488.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009334/0.3491, allocations: 442.9 kB / 489.4 MB, free: 11.42 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.003827/0.353, allocations: 2.347 MB / 491.7 MB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.355, allocations: 0.8188 MB / 492.5 MB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.355, allocations: 4 kB / 492.5 MB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.3562, allocations: 0.5039 MB / 493 MB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/0.3572, allocations: 218.9 kB / 493.3 MB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.3744, allocations: 10.7 MB / 0.4921 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.3751, allocations: 0.6419 MB / 0.4928 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004751/0.3756, allocations: 158.2 kB / 0.4929 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007728/0.3763, allocations: 0.6516 MB / 0.4936 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3763, allocations: 0 / 0.4936 GB, free: 10.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07542/0.4518, allocations: 33.04 MB / 0.5258 GB, free: 10.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.64, allocations: 11.92 kB / 0.5258 GB, free: 10.2 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.314018212025985] 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'] 14.781822619988816 14.96418733 14.670015086 Calling exit ...