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.001318/0.001318, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001593/0.001593, allocations: 211 kB / 24.53 MB, free: 4.07 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.435/1.435, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.001872/0.001872, allocations: 63.89 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2779, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01431/0.2922, allocations: 8.363 MB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.3083, allocations: 11.39 MB / 451.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.3102, allocations: 87.06 kB / 451.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002644/0.3128, allocations: 0.8479 MB / 452.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.3181, allocations: 1.256 MB / 453.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.3209, allocations: 0.7111 MB / 454.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00528/0.3262, allocations: 2.73 MB / 457.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005987/0.3268, allocations: 234.2 kB / 457.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.328, allocations: 0.5793 MB / 458.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.3293, allocations: 0.6211 MB / 458.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002883/0.3296, allocations: 68 kB / 458.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.3324, allocations: 0.8 MB / 459.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.3327, allocations: 210.7 kB / 459.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.3338, allocations: 0.7763 MB / 460.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.3378, allocations: 2.139 MB / 462.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3378, allocations: 0 / 462.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3378, allocations: 0 / 462.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.636e-05/0.3379, allocations: 0 / 462.8 MB, free: 7.734 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.004378/0.3423, allocations: 2.221 MB / 465 MB, free: 5.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.3423, allocations: 8.031 kB / 465 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.757e-05/0.3424, allocations: 13.5 kB / 465 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.3425, allocations: 102.7 kB / 465.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/0.343, allocations: 251.4 kB / 465.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.3454, allocations: 1.223 MB / 466.6 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.3454, allocations: 45.31 kB / 466.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.3455, allocations: 56 kB / 466.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.347, allocations: 0.69 MB / 467.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3471, allocations: 0 / 467.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.3471, allocations: 20 kB / 467.4 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.3471, allocations: 23.98 kB / 467.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.3486, allocations: 0.5634 MB / 468 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004446/0.353, allocations: 2.471 MB / 470.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.3543, allocations: 0.5728 MB / 471 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009419/0.3553, allocations: 498.8 kB / 471.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006493/0.3618, allocations: 2.731 MB / 474.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009035/0.3627, allocations: 406.9 kB / 474.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.316e-06/0.3627, allocations: 3.938 kB / 474.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.00724/0.3699, allocations: 2.31 MB / 477 MB, free: 9.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.37, allocations: 85.59 kB / 477 MB, free: 9.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.372, allocations: 1.426 MB / 478.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.3721, allocations: 41.7 kB / 478.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007723/0.3729, allocations: 0.7947 MB / 479.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.3731, allocations: 253.8 kB / 479.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.3734, allocations: 138.6 kB / 479.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3736, allocations: 345.9 kB / 480 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.3742, allocations: 265.8 kB / 480.3 MB, free: 5.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007759/0.375, allocations: 438.1 kB / 480.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.3785, allocations: 1.552 MB / 482.3 MB, free: 3.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.3785, allocations: 0 / 482.3 MB, free: 3.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002481/0.381, allocations: 1.138 MB / 483.4 MB, free: 2.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.381, allocations: 8 kB / 483.4 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.3811, allocations: 79.98 kB / 483.5 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.3823, allocations: 0.6096 MB / 484.1 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.3829, allocations: 139.8 kB / 484.2 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.3848, allocations: 1.526 MB / 485.8 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007462/0.3855, allocations: 95.48 kB / 485.9 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.77e-05/0.3856, allocations: 36 kB / 485.9 MB, free: 0 / 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.0006994/0.3863, allocations: 294.2 kB / 486.2 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.3867, allocations: 214.7 kB / 486.4 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.3893, allocations: 1.122 MB / 487.5 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.3894, allocations: 8 kB / 487.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3894, allocations: 0 / 487.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.3894, allocations: 3.984 kB / 487.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.391, allocations: 0.9706 MB / 488.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001165/0.3911, allocations: 79.98 kB / 488.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.3915, allocations: 63.94 kB / 488.6 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.3927, allocations: 0.6553 MB / 489.3 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.3928, allocations: 20 kB / 489.3 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.3943, allocations: 1.141 MB / 490.5 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3943, allocations: 4 kB / 490.5 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/0.3972, allocations: 1.41 MB / 491.9 MB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/0.3978, allocations: 226.4 kB / 492.1 MB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.398, allocations: 15.94 kB / 492.1 MB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.3985, allocations: 35.95 kB / 492.1 MB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.3987, allocations: 52.42 kB / 492.2 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/0.3988, allocations: 23.98 kB / 492.2 MB, free: 9.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001485/0.4002, allocations: 0.9484 MB / 493.2 MB, free: 8.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4002, allocations: 0 / 493.2 MB, free: 8.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001085/0.4013, allocations: 431 kB / 493.6 MB, free: 8.164 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.004495/0.4058, allocations: 2.352 MB / 495.9 MB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.408, allocations: 0.8226 MB / 496.8 MB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.408, allocations: 0 / 496.8 MB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.4093, allocations: 0.5039 MB / 497.3 MB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4107, allocations: 215.1 kB / 497.5 MB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/0.4315, allocations: 10.71 MB / 0.4963 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.4327, allocations: 1.216 MB / 0.4975 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005294/0.4332, allocations: 166.1 kB / 0.4976 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.4343, allocations: 0.6477 MB / 0.4982 GB, free: 7.121 MB / 414.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4343, allocations: 0 / 0.4982 GB, free: 7.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07467/0.5089, allocations: 33.94 MB / 0.5314 GB, free: 5.316 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/17.61, allocations: 4.062 kB / 0.5314 GB, free: 5.312 MB / 446.1 MB " [Timeout remaining time 642] (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: 20.293859577039257] 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'] 17.803173481021076 18.023710849 17.682941123 Calling exit ...