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.005316/0.005316, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001573/0.001573, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.338/1.338, allocations: 207.6 MB / 236.1 MB, free: 9.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",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.001728/0.001728, allocations: 51.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2587, allocations: 49.17 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007033/0.2657, allocations: 8.207 MB / 405.4 MB, free: 3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.2791, allocations: 11.02 MB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.2815, allocations: 90.97 kB / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.2844, allocations: 0.825 MB / 417.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005544/0.29, allocations: 1.238 MB / 418.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.2927, allocations: 0.6942 MB / 419.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005618/0.2983, allocations: 2.663 MB / 421.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.2988, allocations: 229.4 kB / 422.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.3, allocations: 0.5546 MB / 422.7 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009805/0.301, allocations: 0.6185 MB / 423.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.3011, allocations: 65.97 kB / 423.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.3035, allocations: 0.7158 MB / 424.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.3038, allocations: 215 kB / 424.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008996/0.3047, allocations: 0.7718 MB / 425 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.308, allocations: 2.139 MB / 427.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.308, allocations: 1.281 kB / 427.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.308, allocations: 0 / 427.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.807e-05/0.308, allocations: 0 / 427.2 MB, free: 4.34 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.004327/0.3124, allocations: 2.203 MB / 429.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3124, allocations: 12.92 kB / 429.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.54e-05/0.3124, allocations: 23.48 kB / 429.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.3126, allocations: 102.4 kB / 429.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.3129, allocations: 231.1 kB / 429.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.3151, allocations: 1.223 MB / 431 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.3151, allocations: 45.31 kB / 431 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3152, allocations: 52 kB / 431.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.3166, allocations: 0.6938 MB / 431.8 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3166, allocations: 0 / 431.8 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.3166, allocations: 28 kB / 431.8 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.3167, allocations: 15.98 kB / 431.8 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.318, allocations: 0.5674 MB / 432.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.3219, allocations: 2.471 MB / 434.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.3231, allocations: 0.5761 MB / 435.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008773/0.324, allocations: 487.3 kB / 435.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00709/0.3311, allocations: 2.988 MB / 438.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008163/0.3319, allocations: 374.5 kB / 439.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.535e-06/0.3319, allocations: 0 / 439.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005867/0.3378, allocations: 1.997 MB / 441.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.3378, allocations: 89.48 kB / 441.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.3396, allocations: 1.439 MB / 442.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.3397, allocations: 37.7 kB / 442.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007411/0.3404, allocations: 0.7985 MB / 443.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.3406, allocations: 238 kB / 443.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.3409, allocations: 138.6 kB / 444 MB, free: 3.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.341, allocations: 341.9 kB / 444.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.3416, allocations: 257.8 kB / 444.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007456/0.3424, allocations: 450.2 kB / 445 MB, free: 2.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.3437, allocations: 0.7363 MB / 445.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.3438, allocations: 4 kB / 445.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002193/0.3459, allocations: 1.109 MB / 446.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.346, allocations: 8 kB / 446.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/0.3461, allocations: 75.98 kB / 446.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.3473, allocations: 0.6992 MB / 447.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.3477, allocations: 111.8 kB / 447.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.3491, allocations: 1.12 MB / 448.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/0.35, allocations: 91.53 kB / 448.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.35, allocations: 36 kB / 449 MB, free: 14.75 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.0005214/0.3506, allocations: 293.6 kB / 449.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.3508, allocations: 214.7 kB / 449.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.353, allocations: 1.062 MB / 450.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3531, allocations: 4 kB / 450.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3531, allocations: 4 kB / 450.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3531, allocations: 3.984 kB / 450.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.3543, allocations: 0.9436 MB / 451.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.804e-05/0.3544, allocations: 72.11 kB / 451.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.3547, allocations: 55.95 kB / 451.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.3559, allocations: 0.6674 MB / 452.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.3559, allocations: 19.98 kB / 452.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.3572, allocations: 1.096 MB / 453.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3572, allocations: 4 kB / 453.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.3599, allocations: 1.326 MB / 454.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/0.3605, allocations: 214.6 kB / 454.9 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.3606, allocations: 15.98 kB / 455 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.3611, allocations: 35.95 kB / 455 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.3612, allocations: 56.36 kB / 455 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/0.3613, allocations: 23.98 kB / 455.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.3625, allocations: 0.9449 MB / 456 MB, free: 7.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3625, allocations: 0 / 456 MB, free: 7.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0011/0.3636, allocations: 438.9 kB / 456.4 MB, free: 7.133 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.00361/0.3673, allocations: 2.245 MB / 458.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3693, allocations: 0.819 MB / 459.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3694, allocations: 0 / 459.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.3705, allocations: 498.4 kB / 460 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3715, allocations: 179.1 kB / 460.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.3887, allocations: 10.72 MB / 470.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008245/0.3895, allocations: 1.22 MB / 472.1 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004625/0.39, allocations: 162.1 kB / 472.3 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.3907, allocations: 0.6243 MB / 472.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3907, allocations: 4 kB / 472.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07406/0.4647, allocations: 33.33 MB / 0.4944 GB, free: 4.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/15.98, allocations: 12.05 kB / 0.4944 GB, free: 4.805 MB / 414.1 MB " [Timeout remaining time 644] (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: 18.279426659049932] 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.168723267968744 16.182600589 15.871540329 Calling exit ...