Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 113.5 kB / 20.43 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 185.7 kB / 23.72 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 47.91 kB / 370.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2645, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01022/0.2747, allocations: 8.359 MB / 431 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.2907, allocations: 11.34 MB / 442.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.2923, allocations: 87.06 kB / 442.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.295, allocations: 0.8565 MB / 443.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.3, allocations: 1.252 MB / 444.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.3027, allocations: 0.6995 MB / 445.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005014/0.3077, allocations: 2.703 MB / 447.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006913/0.3084, allocations: 234.2 kB / 448.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.3097, allocations: 0.5832 MB / 448.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.3111, allocations: 0.6249 MB / 449.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.3114, allocations: 68 kB / 449.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.3143, allocations: 0.7766 MB / 450.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.3146, allocations: 218.7 kB / 450.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.316, allocations: 0.7724 MB / 451.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.3199, allocations: 2.127 MB / 453.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3199, allocations: 0 / 453.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3199, allocations: 0 / 453.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.054e-05/0.32, allocations: 0 / 453.3 MB, free: 15.75 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.004374/0.3244, allocations: 2.205 MB / 455.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3245, allocations: 12.03 kB / 455.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.3246, allocations: 106.7 kB / 455.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/0.325, allocations: 227.5 kB / 455.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.3274, allocations: 1.227 MB / 457.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.3275, allocations: 41.3 kB / 457.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.3276, allocations: 55.95 kB / 457.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.3291, allocations: 0.7017 MB / 457.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3291, allocations: 0 / 457.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.3291, allocations: 20 kB / 457.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.3292, allocations: 23.98 kB / 457.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.3306, allocations: 0.5673 MB / 458.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.3349, allocations: 2.475 MB / 461 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.3361, allocations: 0.5605 MB / 461.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000871/0.3369, allocations: 494.1 kB / 462 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007495/0.3444, allocations: 2.98 MB / 465 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008228/0.3453, allocations: 386.5 kB / 465.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 3.336e-06/0.3453, allocations: 0 / 465.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005898/0.3512, allocations: 1.985 MB / 467.4 MB, free: 1.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.3512, allocations: 93.55 kB / 467.5 MB, free: 1.266 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.3532, allocations: 1.435 MB / 468.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.3533, allocations: 37.7 kB / 468.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000781/0.354, allocations: 0.8024 MB / 469.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.3543, allocations: 238 kB / 470 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.3545, allocations: 138.6 kB / 470.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3547, allocations: 337.9 kB / 470.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.3553, allocations: 249.9 kB / 470.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/0.356, allocations: 462.1 kB / 471.1 MB, free: 13.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.3574, allocations: 0.7286 MB / 471.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3574, allocations: 0 / 471.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002174/0.3596, allocations: 1.117 MB / 473 MB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3596, allocations: 11.94 kB / 473 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/0.3597, allocations: 72 kB / 473.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.361, allocations: 0.7031 MB / 473.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.3615, allocations: 111.8 kB / 473.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.363, allocations: 1.128 MB / 475 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.3637, allocations: 87.48 kB / 475.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.3638, allocations: 40.11 kB / 475.1 MB, free: 9.332 MB / 382.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.0005582/0.3644, allocations: 289.7 kB / 475.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.3647, allocations: 214.7 kB / 475.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.3671, allocations: 1.058 MB / 476.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.3671, allocations: 7.938 kB / 476.7 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.3671, allocations: 3.984 kB / 476.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3671, allocations: 0 / 476.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3685, allocations: 0.9438 MB / 477.6 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/0.3686, allocations: 75.94 kB / 477.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.369, allocations: 55.94 kB / 477.8 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.3702, allocations: 0.6788 MB / 478.4 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.3703, allocations: 20 kB / 478.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.3716, allocations: 1.092 MB / 479.5 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3716, allocations: 0 / 479.5 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.3744, allocations: 1.326 MB / 480.9 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.3749, allocations: 218.6 kB / 481.1 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.3751, allocations: 15.94 kB / 481.1 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.3756, allocations: 31.95 kB / 481.1 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.3757, allocations: 52.3 kB / 481.2 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/0.3758, allocations: 31.98 kB / 481.2 MB, free: 3.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.3773, allocations: 0.9449 MB / 482.2 MB, free: 2.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3773, allocations: 0 / 482.2 MB, free: 2.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001219/0.3785, allocations: 438.9 kB / 482.6 MB, free: 1.719 MB / 382.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.004275/0.3828, allocations: 2.257 MB / 484.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.385, allocations: 0.8117 MB / 485.7 MB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.385, allocations: 0 / 485.7 MB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.3862, allocations: 494.1 kB / 486.1 MB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3873, allocations: 216.4 kB / 486.3 MB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/0.4058, allocations: 10.7 MB / 497 MB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/0.4067, allocations: 1.22 MB / 498.3 MB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004691/0.4071, allocations: 162.1 kB / 498.4 MB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/0.4079, allocations: 0.6204 MB / 499 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4079, allocations: 0 / 499 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08135/0.4892, allocations: 33.32 MB / 0.5199 GB, free: 15.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.05, allocations: 5.469 kB / 0.5199 GB, free: 15.73 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.42641166294925] 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.190312315011397 17.215097195 16.890239498 Calling exit ...