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.0008255/0.0008255, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008071/0.0008071, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8967/0.8967, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.302e-06/1.302e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.216e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.004973/0.004985, allocations: 7.156 MB / 331.7 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008519/0.0135, allocations: 9.864 MB / 341.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000735/0.01424, allocations: 87.06 kB / 341.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.01571, allocations: 0.769 MB / 342.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.01772, allocations: 1.295 MB / 343.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.01885, allocations: 0.7147 MB / 344.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.02117, allocations: 2.811 MB / 347.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.02147, allocations: 226.2 kB / 347.4 MB, free: 8.832 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000714/0.02218, allocations: 0.8065 MB / 348.3 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.02261, allocations: 446.3 kB / 348.7 MB, free: 7.586 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.0227, allocations: 68 kB / 348.8 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.02359, allocations: 0.7141 MB / 349.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.02372, allocations: 222.6 kB / 349.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.02404, allocations: 438.7 kB / 350.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.02557, allocations: 2.172 MB / 352.3 MB, free: 3.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.02557, allocations: 4 kB / 352.3 MB, free: 3.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.02557, allocations: 3.938 kB / 352.3 MB, free: 3.969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.445e-05/0.02561, allocations: 4 kB / 352.3 MB, free: 3.965 MB / 314.7 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.00212/0.02773, allocations: 2.186 MB / 354.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.02777, allocations: 15.98 kB / 354.5 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.307e-05/0.02785, allocations: 102.7 kB / 354.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.02811, allocations: 239.5 kB / 354.8 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.02929, allocations: 1.23 MB / 356.1 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.02932, allocations: 41.69 kB / 356.1 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-05/0.0294, allocations: 60.11 kB / 356.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.03019, allocations: 0.7151 MB / 356.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.0302, allocations: 0 / 356.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.03024, allocations: 20 kB / 356.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.03025, allocations: 24 kB / 356.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.031, allocations: 0.5672 MB / 357.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.03321, allocations: 2.333 MB / 359.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.03391, allocations: 0.5643 MB / 360.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.03441, allocations: 498.1 kB / 360.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003327/0.03774, allocations: 2.657 MB / 363.5 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004973/0.03824, allocations: 406.9 kB / 363.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 1.543e-06/0.03824, allocations: 0 / 363.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.00388/0.04212, allocations: 2.309 MB / 366.2 MB, free: 5.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.04217, allocations: 93.59 kB / 366.3 MB, free: 5.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.04323, allocations: 1.434 MB / 367.8 MB, free: 4.102 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.04327, allocations: 37.7 kB / 367.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.0437, allocations: 0.7985 MB / 368.6 MB, free: 3.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.04383, allocations: 253.8 kB / 368.8 MB, free: 3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.04397, allocations: 138.6 kB / 369 MB, free: 2.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.04406, allocations: 338 kB / 369.3 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.04441, allocations: 261.8 kB / 369.6 MB, free: 2.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.04483, allocations: 467.8 kB / 370 MB, free: 1.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.04679, allocations: 1.556 MB / 371.6 MB, free: 108 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.0468, allocations: 3.938 kB / 371.6 MB, free: 104 kB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001263/0.04806, allocations: 1.138 MB / 372.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.04808, allocations: 8 kB / 372.7 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.611e-05/0.04815, allocations: 79.98 kB / 372.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.04877, allocations: 0.5843 MB / 373.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.04909, allocations: 135.8 kB / 373.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.05012, allocations: 1.541 MB / 375.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.05044, allocations: 91.47 kB / 375.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.05049, allocations: 32 kB / 375.2 MB, free: 12.43 MB / 346.7 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.0003504/0.05084, allocations: 297.8 kB / 375.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.05096, allocations: 214.6 kB / 375.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.05242, allocations: 1.122 MB / 376.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.05242, allocations: 8 kB / 376.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.05243, allocations: 0 / 376.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.05243, allocations: 3.984 kB / 376.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006734/0.05311, allocations: 0.9004 MB / 377.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.804e-05/0.05316, allocations: 83.98 kB / 377.8 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.05336, allocations: 59.94 kB / 377.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006425/0.054, allocations: 0.6443 MB / 378.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.05403, allocations: 19.98 kB / 378.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007963/0.05483, allocations: 1.139 MB / 379.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.05483, allocations: 4 kB / 379.7 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.05659, allocations: 1.406 MB / 381.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.05681, allocations: 226.5 kB / 381.3 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.0569, allocations: 12 kB / 381.3 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.05713, allocations: 39.95 kB / 381.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.05723, allocations: 56.3 kB / 381.4 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.05726, allocations: 27.98 kB / 381.4 MB, free: 6.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007207/0.05798, allocations: 0.9367 MB / 382.4 MB, free: 5.105 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05798, allocations: 0 / 382.4 MB, free: 5.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005722/0.05855, allocations: 442.9 kB / 382.8 MB, free: 4.672 MB / 346.7 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.002222/0.06077, allocations: 2.372 MB / 385.2 MB, free: 2.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.06185, allocations: 0.8185 MB / 386 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.06185, allocations: 0 / 386 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.06247, allocations: 0.508 MB / 386.5 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.06302, allocations: 215.1 kB / 386.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.07382, allocations: 10.58 MB / 397.3 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.0742, allocations: 0.638 MB / 397.9 MB, free: 5.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003027/0.0745, allocations: 166.1 kB / 398.1 MB, free: 4.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.07496, allocations: 0.6604 MB / 398.7 MB, free: 4.301 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.07496, allocations: 4 kB / 398.7 MB, free: 4.297 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/0.1191, allocations: 32.95 MB / 431.7 MB, free: 3.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.973/9.092, allocations: 7.984 kB / 431.7 MB, free: 3.508 MB / 394.7 MB " [Timeout remaining time 651] (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: 10.735496330074966] 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'] 9.198693512938917 9.207385655 9.180254499 Calling exit ...