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.001646/0.001646, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002007/0.002007, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.451/1.451, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.00183/0.00183, allocations: 71.83 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.1003, allocations: 53.32 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2096/0.3099, allocations: 8.355 MB / 435 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.3222, allocations: 11.37 MB / 446.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.3243, allocations: 59.69 kB / 446.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.3271, allocations: 0.8521 MB / 447.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.3321, allocations: 1.239 MB / 448.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.3346, allocations: 0.7047 MB / 449.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005327/0.3399, allocations: 2.727 MB / 452 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005288/0.3404, allocations: 234.4 kB / 452.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.3415, allocations: 0.5595 MB / 452.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008496/0.3424, allocations: 0.6244 MB / 453.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.3425, allocations: 66.16 kB / 453.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.345, allocations: 0.7897 MB / 454.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.3452, allocations: 218.7 kB / 454.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009524/0.3462, allocations: 0.7683 MB / 455.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.3499, allocations: 2.138 MB / 457.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3499, allocations: 0.6094 kB / 457.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3499, allocations: 7.938 kB / 457.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.497e-05/0.35, allocations: 0 / 457.4 MB, free: 10.61 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.004749/0.3547, allocations: 2.28 MB / 459.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3548, allocations: 9.031 kB / 459.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.3549, allocations: 107.1 kB / 459.8 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.3554, allocations: 246 kB / 460 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.3576, allocations: 1.323 MB / 461.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.3577, allocations: 47.16 kB / 461.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.3578, allocations: 53.06 kB / 461.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.3591, allocations: 0.6879 MB / 462.1 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.3592, allocations: 5.344 kB / 462.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/0.3592, allocations: 25.11 kB / 462.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.3592, allocations: 17.89 kB / 462.2 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.3605, allocations: 0.5656 MB / 462.7 MB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004233/0.3648, allocations: 2.52 MB / 465.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.366, allocations: 0.5721 MB / 465.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/0.3668, allocations: 496.1 kB / 466.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008403/0.3752, allocations: 5.884 MB / 472.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008427/0.3761, allocations: 406.8 kB / 472.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.086e-06/0.3761, allocations: 0 / 472.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007178/0.3833, allocations: 2.403 MB / 475 MB, free: 13.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.3833, allocations: 85.61 kB / 475.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.3852, allocations: 1.431 MB / 476.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.3853, allocations: 40.58 kB / 476.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/0.386, allocations: 0.7962 MB / 477.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.3863, allocations: 254.7 kB / 477.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.3865, allocations: 138.6 kB / 477.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3866, allocations: 341.4 kB / 478.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/0.3873, allocations: 260.2 kB / 478.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.388, allocations: 447.3 kB / 478.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.3913, allocations: 1.554 MB / 480.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3913, allocations: 0 / 480.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00235/0.3937, allocations: 1.129 MB / 481.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3937, allocations: 8 kB / 481.4 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.3938, allocations: 79.98 kB / 481.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.3949, allocations: 0.6113 MB / 482.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.3954, allocations: 131.8 kB / 482.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.397, allocations: 1.527 MB / 483.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009728/0.3979, allocations: 95.42 kB / 483.9 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.398, allocations: 32 kB / 483.9 MB, free: 6.41 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.0007031/0.3987, allocations: 312.4 kB / 484.2 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.399, allocations: 207.2 kB / 484.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.4014, allocations: 1.116 MB / 485.5 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4014, allocations: 8 kB / 485.5 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4014, allocations: 0 / 485.5 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4014, allocations: 3.984 kB / 485.5 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.4028, allocations: 1.003 MB / 486.5 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001123/0.4029, allocations: 77.81 kB / 486.6 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.4033, allocations: 63.94 kB / 486.7 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.4044, allocations: 0.6529 MB / 487.3 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.4045, allocations: 20 kB / 487.4 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.4059, allocations: 1.149 MB / 488.5 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4059, allocations: 0 / 488.5 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.4087, allocations: 1.414 MB / 489.9 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/0.4093, allocations: 287.7 kB / 490.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.4095, allocations: 23.92 kB / 490.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.41, allocations: 27.97 kB / 490.2 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.4101, allocations: 56.48 kB / 490.3 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.4102, allocations: 27.94 kB / 490.3 MB, free: 15.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001291/0.4114, allocations: 0.9483 MB / 491.3 MB, free: 14.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4114, allocations: 0 / 491.3 MB, free: 14.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001072/0.4125, allocations: 439 kB / 491.7 MB, free: 14.44 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.003966/0.4165, allocations: 2.343 MB / 494 MB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.4186, allocations: 0.8261 MB / 494.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4186, allocations: 0.6875 kB / 494.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.4198, allocations: 0.508 MB / 495.4 MB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.421, allocations: 218.6 kB / 495.6 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.4382, allocations: 10.72 MB / 0.4944 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008611/0.4391, allocations: 1.22 MB / 0.4956 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004978/0.4396, allocations: 162.1 kB / 0.4958 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007258/0.4403, allocations: 0.6554 MB / 0.4964 GB, free: 13.41 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4403, allocations: 0 / 0.4964 GB, free: 13.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07599/0.5163, allocations: 33.24 MB / 0.5289 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.09, allocations: 11.78 kB / 0.5289 GB, free: 12.33 MB / 446.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 & /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: 18.611153378151357] 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.203109847847372 16.221133619 15.868036789 Calling exit ...