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.001347/0.001347, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001396/0.001396, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.484/1.484, allocations: 230.5 MB / 254.7 MB, free: 15.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.89 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1278, allocations: 53.38 MB / 427.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01054/0.1383, allocations: 8.349 MB / 435.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.1567, allocations: 11.39 MB / 446.8 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.1588, allocations: 87.06 kB / 446.9 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2295/0.3884, allocations: 0.8381 MB / 447.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.3934, allocations: 1.239 MB / 449 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.3958, allocations: 0.7016 MB / 449.7 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00463/0.4004, allocations: 2.723 MB / 452.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.4009, allocations: 232.2 kB / 452.6 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.402, allocations: 0.5823 MB / 453.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008139/0.4028, allocations: 0.6253 MB / 453.8 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.403, allocations: 67.09 kB / 453.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.4051, allocations: 0.7944 MB / 454.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.4053, allocations: 216.1 kB / 454.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008616/0.4062, allocations: 0.7636 MB / 455.7 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.4094, allocations: 2.146 MB / 457.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4094, allocations: 0 / 457.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4094, allocations: 0 / 457.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.548e-05/0.4095, allocations: 3.375 kB / 457.8 MB, free: 6.855 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.004085/0.4136, allocations: 2.283 MB / 460.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4136, allocations: 13.12 kB / 460.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.064e-05/0.4137, allocations: 15.98 kB / 460.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.4138, allocations: 100.2 kB / 460.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005152/0.4143, allocations: 243.2 kB / 460.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.4166, allocations: 1.318 MB / 461.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.4166, allocations: 47.98 kB / 461.8 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.4167, allocations: 56.02 kB / 461.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.418, allocations: 0.697 MB / 462.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.418, allocations: 0 / 462.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.4181, allocations: 21.17 kB / 462.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.4181, allocations: 20.42 kB / 462.6 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.4195, allocations: 0.5702 MB / 463.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.4233, allocations: 2.517 MB / 465.7 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.4244, allocations: 0.5619 MB / 466.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008117/0.4253, allocations: 498.5 kB / 466.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007262/0.4325, allocations: 5.898 MB / 472.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008755/0.4334, allocations: 404.9 kB / 473 MB, free: 13.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.306e-06/0.4334, allocations: 9.156 kB / 473.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007028/0.4404, allocations: 2.401 MB / 475.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.4405, allocations: 85.64 kB / 475.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.4424, allocations: 1.428 MB / 477 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-05/0.4425, allocations: 37.17 kB / 477 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007341/0.4432, allocations: 0.7907 MB / 477.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.4435, allocations: 263.5 kB / 478.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.4437, allocations: 139 kB / 478.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4438, allocations: 340.6 kB / 478.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006417/0.4445, allocations: 261.4 kB / 478.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007857/0.4453, allocations: 446.5 kB / 479.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/0.4487, allocations: 1.548 MB / 480.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.4487, allocations: 1.406 kB / 480.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002445/0.4512, allocations: 1.129 MB / 481.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4512, allocations: 7.969 kB / 481.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/0.4513, allocations: 83.2 kB / 482 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.4524, allocations: 0.5915 MB / 482.6 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.453, allocations: 149.2 kB / 482.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.4545, allocations: 1.531 MB / 484.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.4555, allocations: 89.17 kB / 484.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.4556, allocations: 40.83 kB / 484.4 MB, free: 7.031 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.0006559/0.4563, allocations: 296 kB / 484.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.4566, allocations: 211.3 kB / 484.9 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.4592, allocations: 1.133 MB / 486 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4592, allocations: 5.625 kB / 486 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4592, allocations: 1.094 kB / 486 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.4592, allocations: 3.984 kB / 486 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.4609, allocations: 0.992 MB / 487 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001118/0.461, allocations: 78.11 kB / 487.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.4614, allocations: 67.09 kB / 487.1 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.4626, allocations: 0.6519 MB / 487.8 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.387e-05/0.4626, allocations: 23.55 kB / 487.8 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.4639, allocations: 1.136 MB / 489 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4639, allocations: 3.938 kB / 489 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/0.4667, allocations: 1.414 MB / 490.4 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.4674, allocations: 297.4 kB / 490.7 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.4676, allocations: 11.62 kB / 490.7 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/0.4681, allocations: 39.92 kB / 490.7 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.4682, allocations: 49.59 kB / 490.8 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.4683, allocations: 26.33 kB / 490.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001295/0.4696, allocations: 0.9379 MB / 491.7 MB, free: 2.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4696, allocations: 0 / 491.7 MB, free: 2.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001153/0.4707, allocations: 448.2 kB / 492.2 MB, free: 2.219 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.004149/0.4749, allocations: 2.348 MB / 494.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.477, allocations: 0.819 MB / 495.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.477, allocations: 0 / 495.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.4783, allocations: 0.5112 MB / 495.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.4795, allocations: 212 kB / 496.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.4974, allocations: 10.7 MB / 0.4949 GB, free: 3.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/0.4983, allocations: 1.224 MB / 0.4961 GB, free: 2.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005013/0.4988, allocations: 169.2 kB / 0.4962 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007291/0.4995, allocations: 0.6438 MB / 0.4969 GB, free: 1.293 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4995, allocations: 0 / 0.4969 GB, free: 1.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07012/0.5696, allocations: 33.27 MB / 0.5294 GB, free: 268 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/16.8, allocations: 27.52 kB / 0.5294 GB, free: 244 kB / 430.1 MB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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: 19.3174054310075] 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.97511115402449 16.990480393 16.577559972 Calling exit ...