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.00144/0.00144, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001552/0.001552, allocations: 165.3 kB / 24.26 MB, free: 152 kB / 18.57 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.513/1.513, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 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: 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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.627e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009592/0.009618, allocations: 7.155 MB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.02492, allocations: 9.853 MB / 289.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.0261, allocations: 87.06 kB / 289.4 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1186/0.1447, allocations: 0.7794 MB / 290.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.1491, allocations: 1.284 MB / 291.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.151, allocations: 0.7188 MB / 292.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003587/0.1546, allocations: 2.809 MB / 295 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.155, allocations: 222.5 kB / 295.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.156, allocations: 0.8226 MB / 296 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000645/0.1567, allocations: 441.6 kB / 296.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.1568, allocations: 66.78 kB / 296.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.1584, allocations: 0.7106 MB / 297.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.1586, allocations: 222 kB / 297.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.1591, allocations: 441.4 kB / 297.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.1612, allocations: 2.178 MB / 300.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1612, allocations: 0.5 kB / 300.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1612, allocations: 2.094 kB / 300.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.1613, allocations: 3.469 kB / 300.1 MB, free: 12.96 MB / 266.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.002896/0.1641, allocations: 2.184 MB / 302.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1642, allocations: 9.625 kB / 302.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.1646, allocations: 293.6 kB / 302.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.1662, allocations: 1.355 MB / 303.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.1662, allocations: 42.91 kB / 304 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1663, allocations: 53.38 kB / 304 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.1675, allocations: 0.7251 MB / 304.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1675, allocations: 3.938 kB / 304.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.1676, allocations: 21.16 kB / 304.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1676, allocations: 21.27 kB / 304.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1688, allocations: 0.5696 MB / 305.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.1716, allocations: 2.253 MB / 307.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1726, allocations: 0.5705 MB / 308.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007053/0.1733, allocations: 495.4 kB / 308.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00502/0.1783, allocations: 2.813 MB / 311.5 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007112/0.179, allocations: 403 kB / 311.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.179, allocations: 0 / 311.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.006235/0.1852, allocations: 2.34 MB / 314.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1853, allocations: 89.61 kB / 314.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.1866, allocations: 1.43 MB / 315.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.1866, allocations: 37.7 kB / 315.8 MB, free: 1.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.1871, allocations: 0.7811 MB / 316.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1872, allocations: 256.8 kB / 316.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.1873, allocations: 140.2 kB / 316.9 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.1874, allocations: 338 kB / 317.3 MB, free: 204 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005712/0.188, allocations: 260.9 kB / 317.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008484/0.1888, allocations: 471.8 kB / 318 MB, free: 15.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/0.1925, allocations: 1.547 MB / 319.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.1925, allocations: 4 kB / 319.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0027/0.1952, allocations: 1.164 MB / 320.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1952, allocations: 15.88 kB / 320.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.1954, allocations: 83.98 kB / 320.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.1965, allocations: 0.5912 MB / 321.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.1971, allocations: 138.1 kB / 321.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.1989, allocations: 1.534 MB / 323 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008135/0.1997, allocations: 95.42 kB / 323.1 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.1998, allocations: 36 kB / 323.2 MB, free: 10.14 MB / 282.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.000631/0.2004, allocations: 299.6 kB / 323.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.2007, allocations: 229.8 kB / 323.7 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.2034, allocations: 1.128 MB / 324.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2034, allocations: 4.609 kB / 324.8 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2034, allocations: 0 / 324.8 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2034, allocations: 3.984 kB / 324.8 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.2048, allocations: 0.8151 MB / 325.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001245/0.2049, allocations: 83.98 kB / 325.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.2053, allocations: 63.59 kB / 325.8 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.2067, allocations: 0.6366 MB / 326.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.2067, allocations: 23.92 kB / 326.4 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.2083, allocations: 1.147 MB / 327.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2083, allocations: 4.031 kB / 327.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.2117, allocations: 1.427 MB / 329 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.2123, allocations: 222.5 kB / 329.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.2125, allocations: 12.88 kB / 329.3 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.213, allocations: 39.95 kB / 329.3 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.2131, allocations: 53.97 kB / 329.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.2132, allocations: 23.98 kB / 329.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001465/0.2147, allocations: 0.9367 MB / 330.3 MB, free: 2.926 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2147, allocations: 0 / 330.3 MB, free: 2.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001232/0.2159, allocations: 454.9 kB / 330.8 MB, free: 2.48 MB / 282.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.001041/0.2169, allocations: 0.5307 MB / 331.3 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.2192, allocations: 0.8187 MB / 332.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2192, allocations: 4.125 kB / 332.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.2205, allocations: 0.509 MB / 332.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.2218, allocations: 228.3 kB / 332.8 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.2277, allocations: 2.91 MB / 335.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/0.2284, allocations: 0.6419 MB / 336.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005139/0.229, allocations: 162.1 kB / 336.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.2291, allocations: 80.5 kB / 336.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2292, allocations: 0 / 336.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of Templates: time 0.03191/0.2611, allocations: 15.22 MB / 351.8 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.9861694580176845]