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.001648/0.001648, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001828/0.001828, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001686/0.001686, allocations: 51.92 kB / 377.8 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2498, allocations: 53.36 MB / 431.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009957/0.2598, allocations: 8.364 MB / 439.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.2765, allocations: 11.39 MB / 450.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.2782, allocations: 87.06 kB / 451 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.281, allocations: 0.8514 MB / 451.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.2859, allocations: 1.256 MB / 453.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.2884, allocations: 0.7073 MB / 453.8 MB, free: 80 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005144/0.2936, allocations: 2.727 MB / 456.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006341/0.2942, allocations: 234.2 kB / 456.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.2953, allocations: 0.5793 MB / 457.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.2963, allocations: 0.625 MB / 458 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.2964, allocations: 71.94 kB / 458 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.2983, allocations: 0.7884 MB / 458.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.2985, allocations: 214.7 kB / 459 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008005/0.2993, allocations: 0.7724 MB / 459.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.3024, allocations: 2.143 MB / 461.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.3024, allocations: 0 / 461.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3024, allocations: 0 / 461.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.516e-05/0.3024, allocations: 4 kB / 462 MB, free: 7.875 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.004147/0.3066, allocations: 2.209 MB / 464.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3066, allocations: 8.031 kB / 464.2 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.3068, allocations: 106.6 kB / 464.3 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005638/0.3073, allocations: 251.4 kB / 464.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.3095, allocations: 1.223 MB / 465.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.3096, allocations: 41.31 kB / 465.8 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.3097, allocations: 56 kB / 465.8 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.3111, allocations: 0.6938 MB / 466.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3111, allocations: 3.984 kB / 466.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.3112, allocations: 24 kB / 466.6 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.3112, allocations: 19.98 kB / 466.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.3126, allocations: 0.5634 MB / 467.1 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/0.3168, allocations: 2.471 MB / 469.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.3181, allocations: 0.571 MB / 470.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009138/0.319, allocations: 498.1 kB / 470.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006431/0.3254, allocations: 2.731 MB / 473.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008725/0.3263, allocations: 406.9 kB / 473.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.056e-06/0.3263, allocations: 0 / 473.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007323/0.3336, allocations: 2.317 MB / 476.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.3337, allocations: 81.61 kB / 476.2 MB, free: 9.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.3357, allocations: 1.43 MB / 477.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/0.3358, allocations: 37.7 kB / 477.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008578/0.3367, allocations: 0.7986 MB / 478.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.337, allocations: 253.8 kB / 478.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.3372, allocations: 138.6 kB / 478.8 MB, free: 6.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3374, allocations: 341.9 kB / 479.2 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.338, allocations: 265.8 kB / 479.4 MB, free: 5.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.3388, allocations: 442 kB / 479.9 MB, free: 5.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/0.3424, allocations: 1.552 MB / 481.4 MB, free: 3.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3424, allocations: 0 / 481.4 MB, free: 3.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002396/0.3448, allocations: 1.134 MB / 482.6 MB, free: 2.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.3448, allocations: 11.98 kB / 482.6 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.3449, allocations: 79.98 kB / 482.6 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3461, allocations: 0.611 MB / 483.3 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.3467, allocations: 131.8 kB / 483.4 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.3484, allocations: 1.53 MB / 484.9 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.3491, allocations: 95.42 kB / 485 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/0.3492, allocations: 36 kB / 485 MB, free: 172 kB / 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.0007377/0.3499, allocations: 311 kB / 485.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.3503, allocations: 206.7 kB / 485.5 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.3528, allocations: 1.118 MB / 486.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.3529, allocations: 8 kB / 486.7 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3529, allocations: 0 / 486.7 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.3529, allocations: 3.984 kB / 486.7 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.3544, allocations: 0.9706 MB / 487.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001271/0.3546, allocations: 80 kB / 487.7 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.355, allocations: 67.88 kB / 487.8 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.3562, allocations: 0.6553 MB / 488.4 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.3563, allocations: 20 kB / 488.5 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.3579, allocations: 1.141 MB / 489.6 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3579, allocations: 3.938 kB / 489.6 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.361, allocations: 1.41 MB / 491 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/0.3616, allocations: 222.4 kB / 491.2 MB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.3618, allocations: 15.94 kB / 491.3 MB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.3623, allocations: 35.95 kB / 491.3 MB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.3624, allocations: 56.41 kB / 491.3 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/0.3625, allocations: 20 kB / 491.4 MB, free: 9.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00158/0.3641, allocations: 0.9484 MB / 492.3 MB, free: 8.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3641, allocations: 0 / 492.3 MB, free: 8.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001188/0.3653, allocations: 431 kB / 492.7 MB, free: 8.328 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.004593/0.3699, allocations: 2.355 MB / 495.1 MB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.3721, allocations: 0.8262 MB / 495.9 MB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3721, allocations: 0 / 495.9 MB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.3734, allocations: 0.5002 MB / 496.4 MB, free: 4.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3746, allocations: 215.2 kB / 496.6 MB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/0.394, allocations: 10.7 MB / 0.4954 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.395, allocations: 1.224 MB / 0.4966 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005549/0.3956, allocations: 162.1 kB / 0.4968 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/0.3964, allocations: 0.6555 MB / 0.4974 GB, free: 7.273 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3964, allocations: 0 / 0.4974 GB, free: 7.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08796/0.4844, allocations: 33.92 MB / 0.5305 GB, free: 5.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.7/17.18, allocations: 8.062 kB / 0.5306 GB, free: 5.598 MB / 446.1 MB " [Timeout remaining time 643] (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: 19.853139459853992] 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.318075907882303 17.533176789 17.227685757 Calling exit ...