Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00188/0.00188, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002291/0.002291, allocations: 215.5 kB / 24.48 MB, free: 3.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 59.89 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.257, allocations: 53.42 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009112/0.2661, allocations: 7.142 MB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.2802, allocations: 9.845 MB / 449.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.2818, allocations: 83.12 kB / 449.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.2844, allocations: 0.7787 MB / 450.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004658/0.2891, allocations: 1.249 MB / 451.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.2914, allocations: 0.7109 MB / 452.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004463/0.2958, allocations: 2.723 MB / 454.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.2963, allocations: 222.2 kB / 455.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008568/0.2971, allocations: 0.5832 MB / 455.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007554/0.2979, allocations: 0.582 MB / 456.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.298, allocations: 64 kB / 456.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.2998, allocations: 0.7142 MB / 457.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.3, allocations: 218.7 kB / 457.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.3006, allocations: 0.5744 MB / 457.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.3033, allocations: 2.17 MB / 460.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3033, allocations: 0 / 460.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3033, allocations: 4 kB / 460.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.3033, allocations: 0 / 460.1 MB, free: 10.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.003715/0.307, allocations: 2.209 MB / 462.3 MB, free: 8.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.307, allocations: 8.031 kB / 462.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000429/0.3075, allocations: 247.5 kB / 462.5 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.3096, allocations: 1.219 MB / 463.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.3096, allocations: 45.25 kB / 463.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3097, allocations: 60 kB / 463.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.3111, allocations: 0.7189 MB / 464.6 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3111, allocations: 0 / 464.6 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.767e-05/0.3112, allocations: 20 kB / 464.6 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.3112, allocations: 23.97 kB / 464.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.3126, allocations: 0.5673 MB / 465.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003908/0.3165, allocations: 2.238 MB / 467.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.3178, allocations: 0.5708 MB / 468 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008843/0.3187, allocations: 490.1 kB / 468.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006368/0.325, allocations: 2.663 MB / 471.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009019/0.3259, allocations: 410.9 kB / 471.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.707e-06/0.3259, allocations: 0 / 471.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007096/0.333, allocations: 2.313 MB / 473.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.3331, allocations: 97.53 kB / 473.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.3353, allocations: 1.43 MB / 475.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.3353, allocations: 41.7 kB / 475.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007489/0.3361, allocations: 0.7752 MB / 476.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.3363, allocations: 253.8 kB / 476.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.3366, allocations: 142.6 kB / 476.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3367, allocations: 338 kB / 476.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/0.3374, allocations: 261.8 kB / 477.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008137/0.3382, allocations: 467.7 kB / 477.6 MB, free: 8.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003457/0.3417, allocations: 1.556 MB / 479.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.3417, allocations: 12 kB / 479.2 MB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002369/0.344, allocations: 1.127 MB / 480.3 MB, free: 5.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3441, allocations: 12.06 kB / 480.3 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.3442, allocations: 80 kB / 480.4 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.3453, allocations: 0.5897 MB / 481 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.3459, allocations: 131.8 kB / 481.1 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.3476, allocations: 1.546 MB / 482.7 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.3484, allocations: 87.48 kB / 482.7 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/0.3484, allocations: 32 kB / 482.8 MB, free: 3.426 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.0006366/0.3491, allocations: 305.6 kB / 483.1 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.3494, allocations: 214.7 kB / 483.3 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.352, allocations: 1.118 MB / 484.4 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.352, allocations: 4 kB / 484.4 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.352, allocations: 0 / 484.4 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.352, allocations: 0 / 484.4 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.3533, allocations: 0.8251 MB / 485.2 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001202/0.3534, allocations: 76 kB / 485.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.3538, allocations: 71.88 kB / 485.4 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.3551, allocations: 0.6474 MB / 486 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.3551, allocations: 15.98 kB / 486 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.3566, allocations: 1.134 MB / 487.2 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3566, allocations: 7.938 kB / 487.2 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.3596, allocations: 1.421 MB / 488.6 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/0.3602, allocations: 214.6 kB / 488.8 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.3605, allocations: 12 kB / 488.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.361, allocations: 39.95 kB / 488.9 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.3612, allocations: 56.34 kB / 488.9 MB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.687e-05/0.3612, allocations: 24 kB / 488.9 MB, free: 13.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001676/0.3629, allocations: 0.9406 MB / 489.9 MB, free: 12.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3629, allocations: 0 / 489.9 MB, free: 12.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001123/0.364, allocations: 435 kB / 490.3 MB, free: 11.76 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.0009546/0.365, allocations: 492.7 kB / 490.8 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3673, allocations: 0.8186 MB / 491.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3673, allocations: 0 / 491.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.3686, allocations: 0.5041 MB / 492.1 MB, free: 9.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.3697, allocations: 215 kB / 492.3 MB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/0.3762, allocations: 3.06 MB / 495.4 MB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009812/0.3772, allocations: 0.638 MB / 496 MB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.3775, allocations: 79.44 kB / 496.1 MB, free: 5.859 MB / 398.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3775, allocations: 0 / 496.1 MB, free: 5.859 MB / 398.1 MB Notification: Performance of Templates: time 0.04508/0.4225, allocations: 29.4 MB / 0.5132 GB, free: 8.457 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.758420017082244] 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'] 0.4321071607992053 0.448279742 0.141473397 Calling exit ...