Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001832/0.001832, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001469/0.001469, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.94 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1039, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2076/0.3115, allocations: 8.348 MB / 434.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.3236, allocations: 11.37 MB / 446 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.3249, allocations: 87.59 kB / 446.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.3273, allocations: 0.8553 MB / 447 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.3321, allocations: 1.236 MB / 448.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.3345, allocations: 0.7038 MB / 448.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004627/0.3392, allocations: 2.724 MB / 451.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.3396, allocations: 239.7 kB / 451.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009643/0.3406, allocations: 0.5813 MB / 452.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.3414, allocations: 0.6188 MB / 453.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.3415, allocations: 66.69 kB / 453.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.3436, allocations: 0.7927 MB / 453.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.3439, allocations: 219.6 kB / 454.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007827/0.3446, allocations: 0.7705 MB / 454.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.348, allocations: 2.143 MB / 457.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.348, allocations: 0 / 457.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.348, allocations: 0 / 457.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.693e-05/0.348, allocations: 1.375 kB / 457.1 MB, free: 10.52 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.004431/0.3525, allocations: 2.279 MB / 459.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3525, allocations: 10.16 kB / 459.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.3527, allocations: 108.8 kB / 459.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004908/0.3531, allocations: 248 kB / 459.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.3552, allocations: 1.318 MB / 461 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.3552, allocations: 41.34 kB / 461.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3553, allocations: 57.78 kB / 461.1 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.3567, allocations: 0.6922 MB / 461.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3567, allocations: 3.938 kB / 461.8 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/0.3568, allocations: 21.31 kB / 461.8 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.3568, allocations: 17.97 kB / 461.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3582, allocations: 0.5733 MB / 462.4 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.3622, allocations: 2.515 MB / 464.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.3635, allocations: 0.5693 MB / 465.5 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009284/0.3644, allocations: 489.1 kB / 466 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008359/0.3728, allocations: 5.896 MB / 471.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000888/0.3737, allocations: 394 kB / 472.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.3737, allocations: 0 / 472.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007415/0.3811, allocations: 2.406 MB / 474.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.3812, allocations: 89.92 kB / 474.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.3833, allocations: 1.422 MB / 476.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.3833, allocations: 41.14 kB / 476.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008369/0.3842, allocations: 0.7888 MB / 477 MB, free: 12.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.3844, allocations: 262.1 kB / 477.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.3847, allocations: 139.1 kB / 477.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3849, allocations: 345.5 kB / 477.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.3855, allocations: 261.1 kB / 478 MB, free: 11.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.3863, allocations: 443.2 kB / 478.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/0.3899, allocations: 1.55 MB / 480 MB, free: 9.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3899, allocations: 0 / 480 MB, free: 9.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002574/0.3925, allocations: 1.138 MB / 481.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3925, allocations: 12 kB / 481.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.3926, allocations: 87.98 kB / 481.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.3938, allocations: 0.599 MB / 481.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.3944, allocations: 135.8 kB / 481.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.3961, allocations: 1.521 MB / 483.5 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/0.3971, allocations: 95.42 kB / 483.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/0.3971, allocations: 32 kB / 483.6 MB, free: 6.27 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.0006732/0.3978, allocations: 302.5 kB / 483.9 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.3982, allocations: 214.7 kB / 484.1 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.401, allocations: 1.122 MB / 485.2 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.401, allocations: 8 kB / 485.2 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.401, allocations: 0 / 485.2 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.401, allocations: 3.984 kB / 485.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.4028, allocations: 0.9987 MB / 486.2 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001221/0.4029, allocations: 81.86 kB / 486.3 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.4033, allocations: 63.94 kB / 486.4 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.4046, allocations: 0.6514 MB / 487 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.4047, allocations: 28.69 kB / 487.1 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.4062, allocations: 1.141 MB / 488.2 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4062, allocations: 0 / 488.2 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/0.4093, allocations: 1.414 MB / 489.6 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000712/0.4101, allocations: 295.8 kB / 489.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.4104, allocations: 15.75 kB / 489.9 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.411, allocations: 39.95 kB / 489.9 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.4112, allocations: 52.5 kB / 490 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/0.4113, allocations: 23.98 kB / 490 MB, free: 15.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001626/0.4129, allocations: 0.9406 MB / 491 MB, free: 14.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4129, allocations: 0 / 491 MB, free: 14.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001306/0.4142, allocations: 438.9 kB / 491.4 MB, free: 14.3 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.004522/0.4187, allocations: 2.348 MB / 493.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.4209, allocations: 0.8229 MB / 494.6 MB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4209, allocations: 0 / 494.6 MB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.4222, allocations: 0.5079 MB / 495.1 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.4237, allocations: 212.1 kB / 495.3 MB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/0.4434, allocations: 10.72 MB / 0.4941 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009546/0.4444, allocations: 1.228 MB / 0.4953 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004769/0.4448, allocations: 162.1 kB / 0.4955 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007759/0.4456, allocations: 0.6555 MB / 0.4961 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4456, allocations: 0 / 0.4961 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08346/0.5291, allocations: 33.22 MB / 0.5286 GB, free: 12.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/15.74, allocations: 14.2 kB / 0.5286 GB, free: 12.32 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.158266682177782] 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'] 15.847662054002285 15.861729821 15.51080994 Calling exit ...