Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001308/0.001308, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001346/0.001346, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.11, allocations: 53.39 MB / 426.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009702/0.1197, allocations: 8.351 MB / 434.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.135, allocations: 11.38 MB / 446.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.1364, allocations: 91.06 kB / 446.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2178/0.3542, allocations: 0.8381 MB / 447 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.3589, allocations: 1.236 MB / 448.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.3611, allocations: 0.7075 MB / 449 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004614/0.3657, allocations: 2.724 MB / 451.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004296/0.3661, allocations: 228.2 kB / 451.9 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008965/0.367, allocations: 0.5805 MB / 452.5 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006923/0.3677, allocations: 0.6221 MB / 453.1 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.3678, allocations: 68.84 kB / 453.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.3697, allocations: 0.7943 MB / 454 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.3699, allocations: 217.2 kB / 454.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007572/0.3707, allocations: 0.768 MB / 455 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00326/0.3739, allocations: 2.144 MB / 457.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3739, allocations: 0.5 kB / 457.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3739, allocations: 0 / 457.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.039e-05/0.374, allocations: 0.5 kB / 457.1 MB, free: 6.836 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.004099/0.3781, allocations: 2.285 MB / 459.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3781, allocations: 9.094 kB / 459.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.3782, allocations: 106.5 kB / 459.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.3787, allocations: 242.5 kB / 459.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.3807, allocations: 1.32 MB / 461.1 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3807, allocations: 41.42 kB / 461.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3808, allocations: 62.89 kB / 461.2 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.3821, allocations: 0.696 MB / 461.9 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3821, allocations: 0 / 461.9 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.3822, allocations: 20.47 kB / 461.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.3822, allocations: 17.12 kB / 461.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.3837, allocations: 0.5729 MB / 462.5 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004547/0.3882, allocations: 2.511 MB / 465 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.3895, allocations: 0.5675 MB / 465.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/0.3904, allocations: 493.2 kB / 466 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007896/0.3983, allocations: 5.904 MB / 471.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009137/0.3993, allocations: 401.5 kB / 472.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/0.3993, allocations: 0 / 472.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006987/0.4062, allocations: 2.403 MB / 474.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.4063, allocations: 91.84 kB / 474.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.4082, allocations: 1.427 MB / 476.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.4083, allocations: 38.39 kB / 476.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007594/0.409, allocations: 0.7912 MB / 477.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.4093, allocations: 258.1 kB / 477.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.4095, allocations: 143.9 kB / 477.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4097, allocations: 332.5 kB / 477.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.4103, allocations: 260.8 kB / 478 MB, free: 10.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.4111, allocations: 447.4 kB / 478.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.4146, allocations: 1.55 MB / 480 MB, free: 9.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4146, allocations: 6.531 kB / 480 MB, free: 9.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002392/0.417, allocations: 1.131 MB / 481.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.417, allocations: 11.16 kB / 481.2 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/0.4171, allocations: 79.16 kB / 481.3 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.4182, allocations: 0.5973 MB / 481.9 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.4187, allocations: 132 kB / 482 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.4202, allocations: 1.542 MB / 483.5 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000908/0.4212, allocations: 83.58 kB / 483.6 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.4212, allocations: 46.36 kB / 483.7 MB, free: 7.039 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.0006289/0.4219, allocations: 294.2 kB / 483.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.4221, allocations: 218.2 kB / 484.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.4246, allocations: 1.126 MB / 485.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4246, allocations: 5.281 kB / 485.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4247, allocations: 0.7188 kB / 485.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.4247, allocations: 5.297 kB / 485.3 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.4262, allocations: 0.9943 MB / 486.3 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001006/0.4263, allocations: 80.23 kB / 486.4 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.4267, allocations: 63.19 kB / 486.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.4278, allocations: 0.6552 MB / 487.1 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.4279, allocations: 24.73 kB / 487.1 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.4292, allocations: 1.131 MB / 488.2 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.4292, allocations: 7.969 kB / 488.2 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.4319, allocations: 1.412 MB / 489.7 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.4324, allocations: 295.3 kB / 489.9 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.4326, allocations: 17.31 kB / 490 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.4331, allocations: 36.98 kB / 490 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.4332, allocations: 48.5 kB / 490 MB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.4333, allocations: 28.2 kB / 490.1 MB, free: 3.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001147/0.4344, allocations: 0.9443 MB / 491 MB, free: 2.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4344, allocations: 0 / 491 MB, free: 2.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001151/0.4356, allocations: 441.3 kB / 491.4 MB, free: 2.242 MB / 382.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.004269/0.4398, allocations: 2.342 MB / 493.8 MB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.4423, allocations: 0.8267 MB / 494.6 MB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4423, allocations: 0 / 494.6 MB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.4435, allocations: 0.5003 MB / 495.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.4447, allocations: 217 kB / 495.3 MB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/0.4622, allocations: 10.71 MB / 0.4942 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/0.4631, allocations: 1.228 MB / 0.4954 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005208/0.4637, allocations: 162.4 kB / 0.4955 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007701/0.4644, allocations: 0.6438 MB / 0.4962 GB, free: 1.312 MB / 398.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4644, allocations: 4 kB / 0.4962 GB, free: 1.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0735/0.5379, allocations: 33.24 MB / 0.5286 GB, free: 304 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.35, allocations: 8.062 kB / 0.5286 GB, free: 296 kB / 430.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.889182106941007] 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.476319176028483 16.502687435 16.123533841 Calling exit ...