Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 108.2 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 51.94 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2857, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007662/0.2933, allocations: 8.215 MB / 404.6 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.3082, allocations: 11.02 MB / 415.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.311, allocations: 84.88 kB / 415.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002923/0.3139, allocations: 0.8262 MB / 416.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00573/0.3196, allocations: 1.24 MB / 417.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.3221, allocations: 0.6981 MB / 418.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004995/0.3271, allocations: 2.658 MB / 421.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.3275, allocations: 234.7 kB / 421.3 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008587/0.3284, allocations: 0.5575 MB / 421.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007931/0.3292, allocations: 0.6136 MB / 422.5 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3293, allocations: 66.84 kB / 422.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.3313, allocations: 0.711 MB / 423.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.3316, allocations: 227.4 kB / 423.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007893/0.3324, allocations: 0.7645 MB / 424.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.3352, allocations: 2.135 MB / 426.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3353, allocations: 1.688 kB / 426.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3353, allocations: 0 / 426.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.3353, allocations: 0 / 426.4 MB, free: 4.344 MB / 334.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.004042/0.3393, allocations: 2.21 MB / 428.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3394, allocations: 12.95 kB / 428.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.3395, allocations: 107 kB / 428.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.3398, allocations: 230.7 kB / 428.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.3418, allocations: 1.22 MB / 430.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.3419, allocations: 41.31 kB / 430.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.342, allocations: 59.98 kB / 430.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.3433, allocations: 0.6861 MB / 431 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3433, allocations: 7.984 kB / 431 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.976e-05/0.3434, allocations: 23.98 kB / 431 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.3434, allocations: 16 kB / 431 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.3447, allocations: 0.575 MB / 431.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.3487, allocations: 2.475 MB / 434 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.3499, allocations: 0.5605 MB / 434.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008835/0.3508, allocations: 487.3 kB / 435.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007655/0.3585, allocations: 2.976 MB / 438.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/0.3593, allocations: 386.4 kB / 438.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.735e-06/0.3593, allocations: 0 / 438.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.006063/0.3654, allocations: 1.997 MB / 440.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/0.3655, allocations: 93.53 kB / 440.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.3674, allocations: 1.431 MB / 442 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.3674, allocations: 37.7 kB / 442 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/0.3682, allocations: 0.8063 MB / 442.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.3684, allocations: 234 kB / 443 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.3686, allocations: 138.6 kB / 443.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3688, allocations: 337.9 kB / 443.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/0.3695, allocations: 261.8 kB / 443.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007568/0.3702, allocations: 458.2 kB / 444.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.3716, allocations: 0.7325 MB / 444.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3716, allocations: 4 kB / 444.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002192/0.3738, allocations: 1.106 MB / 446 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3738, allocations: 4 kB / 446 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/0.3739, allocations: 83.92 kB / 446.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.3753, allocations: 0.7031 MB / 446.8 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.3757, allocations: 115.7 kB / 446.9 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.3773, allocations: 1.116 MB / 448.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/0.3781, allocations: 91.48 kB / 448.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.3782, allocations: 36 kB / 448.2 MB, free: 14.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005465/0.3787, allocations: 293.6 kB / 448.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.379, allocations: 214.6 kB / 448.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.3814, allocations: 1.054 MB / 449.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3814, allocations: 8 kB / 449.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3814, allocations: 3.938 kB / 449.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3814, allocations: 3.984 kB / 449.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.3828, allocations: 0.9475 MB / 450.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001216/0.3829, allocations: 75.98 kB / 450.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.3833, allocations: 55.94 kB / 450.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/0.3844, allocations: 0.6597 MB / 451.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.3845, allocations: 27.92 kB / 451.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.3858, allocations: 1.104 MB / 452.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3858, allocations: 0 / 452.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.3885, allocations: 1.319 MB / 453.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/0.3891, allocations: 218.5 kB / 454.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.3893, allocations: 15.98 kB / 454.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.3897, allocations: 27.97 kB / 454.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.3899, allocations: 52.34 kB / 454.2 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.3899, allocations: 24 kB / 454.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.3912, allocations: 0.9488 MB / 455.2 MB, free: 7.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3912, allocations: 0 / 455.2 MB, free: 7.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001056/0.3923, allocations: 438.9 kB / 455.6 MB, free: 7.176 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * 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 {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003873/0.3962, allocations: 2.249 MB / 457.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.3982, allocations: 0.8116 MB / 458.7 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3982, allocations: 0 / 458.7 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.3994, allocations: 498.1 kB / 459.2 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009625/0.4003, allocations: 187 kB / 459.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.4177, allocations: 10.71 MB / 470.1 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008932/0.4186, allocations: 1.22 MB / 471.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004667/0.419, allocations: 162.1 kB / 471.5 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007099/0.4197, allocations: 0.6243 MB / 472.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4197, allocations: 0 / 472.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07755/0.4973, allocations: 33.31 MB / 0.4935 GB, free: 4.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/17.24, allocations: 0 / 0.4935 GB, free: 4.887 MB / 414.1 MB " [Timeout remaining time 643] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.85991550493054] 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.378156908089295 17.401259209 17.061681652 Calling exit ...