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.001001/0.001001, allocations: 88.33 kB / 21.44 MB, free: 3.113 MB / 18.57 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.004753/0.004753, allocations: 153.4 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.8495/0.8495, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.252e-06/1.252e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.911e-05, allocations: 6.844 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00477/0.004789, allocations: 7.155 MB / 332.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007091/0.01188, allocations: 9.856 MB / 342.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.01231, allocations: 87.06 kB / 342.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.01334, allocations: 0.7729 MB / 343.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.01487, allocations: 1.299 MB / 345 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008822/0.01576, allocations: 0.7069 MB / 345.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.01777, allocations: 2.815 MB / 348.5 MB, free: 8.551 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.01803, allocations: 226.2 kB / 348.7 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.01855, allocations: 0.8104 MB / 349.5 MB, free: 7.496 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.0189, allocations: 450.3 kB / 350 MB, free: 7.055 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.01896, allocations: 68 kB / 350 MB, free: 6.988 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007574/0.01972, allocations: 0.7102 MB / 350.7 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.01983, allocations: 218.6 kB / 350.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.02009, allocations: 446.6 kB / 351.4 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.02152, allocations: 2.18 MB / 353.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.02153, allocations: 0 / 353.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02153, allocations: 0 / 353.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.02154, allocations: 8 kB / 353.6 MB, free: 3.43 MB / 314.7 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.001999/0.02354, allocations: 2.182 MB / 355.7 MB, free: 1.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.02357, allocations: 12.03 kB / 355.8 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.02383, allocations: 243.5 kB / 356 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.02503, allocations: 1.219 MB / 357.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.02506, allocations: 45.66 kB / 357.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.02513, allocations: 68.08 kB / 357.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/0.02591, allocations: 0.7151 MB / 358 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.02592, allocations: 0 / 358 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.02595, allocations: 20 kB / 358.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.02597, allocations: 23.98 kB / 358.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.02667, allocations: 0.5672 MB / 358.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.02866, allocations: 2.249 MB / 360.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.02933, allocations: 0.5527 MB / 361.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.02981, allocations: 490.2 kB / 361.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003056/0.03286, allocations: 2.67 MB / 364.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000467/0.03333, allocations: 402.9 kB / 365 MB, free: 7.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 2.635e-06/0.03333, allocations: 3.984 kB / 365 MB, free: 7.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.003672/0.037, allocations: 2.317 MB / 367.3 MB, free: 5.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.03705, allocations: 89.59 kB / 367.4 MB, free: 5.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009783/0.03803, allocations: 1.426 MB / 368.8 MB, free: 3.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.03806, allocations: 37.7 kB / 368.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.03848, allocations: 0.7829 MB / 369.7 MB, free: 2.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.03861, allocations: 261.7 kB / 369.9 MB, free: 2.695 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.03874, allocations: 142.6 kB / 370 MB, free: 2.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.03882, allocations: 333.9 kB / 370.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.03915, allocations: 261.8 kB / 370.6 MB, free: 1.961 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.03956, allocations: 467.8 kB / 371.1 MB, free: 1.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.04139, allocations: 1.556 MB / 372.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.04139, allocations: 4 kB / 372.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001146/0.04254, allocations: 1.142 MB / 373.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.04255, allocations: 4 kB / 373.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-05/0.04261, allocations: 84 kB / 373.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.04318, allocations: 0.5841 MB / 374.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.04346, allocations: 135.8 kB / 374.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008756/0.04433, allocations: 1.537 MB / 376.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.04461, allocations: 91.42 kB / 376.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.04465, allocations: 36 kB / 376.2 MB, free: 12.12 MB / 346.7 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.0003243/0.04498, allocations: 289.8 kB / 376.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.0451, allocations: 214.7 kB / 376.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.04641, allocations: 1.122 MB / 377.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.04642, allocations: 4 kB / 377.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.04642, allocations: 3.984 kB / 377.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.04643, allocations: 4 kB / 377.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.0471, allocations: 0.8213 MB / 378.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.632e-05/0.04716, allocations: 79.98 kB / 378.8 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.04734, allocations: 63.94 kB / 378.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006318/0.04797, allocations: 0.6521 MB / 379.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.048, allocations: 16 kB / 379.5 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007895/0.04879, allocations: 1.139 MB / 380.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.04879, allocations: 0 / 380.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.05027, allocations: 1.406 MB / 382 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.05048, allocations: 226.5 kB / 382.3 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/0.05056, allocations: 12 kB / 382.3 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.05078, allocations: 35.95 kB / 382.3 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.05086, allocations: 56.41 kB / 382.4 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.05089, allocations: 24 kB / 382.4 MB, free: 5.863 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000679/0.05157, allocations: 0.9406 MB / 383.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05157, allocations: 0 / 383.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004979/0.05207, allocations: 438.9 kB / 383.8 MB, free: 4.473 MB / 346.7 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.0005239/0.05259, allocations: 0.507 MB / 384.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.05364, allocations: 0.8226 MB / 385.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.05364, allocations: 0 / 385.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005995/0.05424, allocations: 0.5039 MB / 385.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.05478, allocations: 222.9 kB / 385.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.05748, allocations: 2.904 MB / 388.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.05783, allocations: 0.638 MB / 389.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.05793, allocations: 80.5 kB / 389.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of SimCode: time 5.62e-07/0.05793, allocations: 0 / 389.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Templates: time 0.01848/0.07641, allocations: 29.4 MB / 418.8 MB, free: 1.285 MB / 378.7 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: 5.674236345104873] 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.0834873765707016 0.09122545099999994 0.068012431 Calling exit ...