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.00181/0.00181, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001893/0.001893, allocations: 153.1 kB / 24.26 MB, free: 172 kB / 18.57 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.518/1.518, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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: 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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.135e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01223/0.01226, allocations: 7.879 MB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01737/0.02963, allocations: 10.64 MB / 285.8 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.03105, allocations: 87.06 kB / 285.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.03361, allocations: 0.7729 MB / 286.7 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.03814, allocations: 1.291 MB / 288 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.04049, allocations: 0.7148 MB / 288.7 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1177/0.1582, allocations: 2.77 MB / 291.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.1586, allocations: 224.2 kB / 291.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009906/0.1596, allocations: 0.8144 MB / 292.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.1602, allocations: 462.6 kB / 293 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.1603, allocations: 67 kB / 293 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.1619, allocations: 0.7025 MB / 293.7 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.162, allocations: 224 kB / 293.9 MB, free: 16.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.1625, allocations: 440.6 kB / 294.4 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.1649, allocations: 2.17 MB / 296.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1649, allocations: 0 / 296.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1649, allocations: 3.938 kB / 296.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.1649, allocations: 0 / 296.5 MB, free: 15.82 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.003288/0.1682, allocations: 2.424 MB / 299 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1682, allocations: 10.42 kB / 299 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.1685, allocations: 270.2 kB / 299.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.1702, allocations: 1.361 MB / 300.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.1702, allocations: 45.02 kB / 300.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.1703, allocations: 56.62 kB / 300.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1714, allocations: 0.6784 MB / 301.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1714, allocations: 7.938 kB / 301.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.1715, allocations: 21.66 kB / 301.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1715, allocations: 20.38 kB / 301.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.1725, allocations: 499.2 kB / 301.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.1757, allocations: 2.596 MB / 304.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.1766, allocations: 0.4971 MB / 305 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.1772, allocations: 439.6 kB / 305.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006533/0.1837, allocations: 3.178 MB / 308.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006104/0.1843, allocations: 364.2 kB / 309 MB, free: 10.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.485e-06/0.1843, allocations: 4 kB / 309 MB, free: 10.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.005065/0.1894, allocations: 1.951 MB / 310.9 MB, free: 9.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1894, allocations: 88.73 kB / 311 MB, free: 9.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.1911, allocations: 1.921 MB / 312.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.1911, allocations: 41.7 kB / 313 MB, free: 7.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/0.1916, allocations: 0.9642 MB / 313.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1917, allocations: 252.1 kB / 314.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.1919, allocations: 162.4 kB / 314.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.192, allocations: 0.516 MB / 314.9 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.1924, allocations: 229.1 kB / 315.1 MB, free: 5.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.1929, allocations: 0.5316 MB / 315.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.1938, allocations: 0.8067 MB / 316.4 MB, free: 4.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1938, allocations: 0 / 316.4 MB, free: 4.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001489/0.1953, allocations: 1.113 MB / 317.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1953, allocations: 12.03 kB / 317.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.077e-05/0.1954, allocations: 75.98 kB / 317.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.1964, allocations: 0.6877 MB / 318.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.1968, allocations: 110.7 kB / 318.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.1978, allocations: 1.403 MB / 319.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/0.1984, allocations: 79.45 kB / 319.9 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.1985, allocations: 43.92 kB / 319.9 MB, free: 0.6602 MB / 266.7 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.000332/0.1988, allocations: 332.6 kB / 320.3 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.199, allocations: 222.7 kB / 320.5 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.2012, allocations: 1.018 MB / 321.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.2012, allocations: 8 kB / 321.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2012, allocations: 0 / 321.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.2012, allocations: 7.266 kB / 321.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.2028, allocations: 1.102 MB / 322.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001127/0.2029, allocations: 75.98 kB / 322.7 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.2032, allocations: 39.97 kB / 322.7 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.2045, allocations: 0.666 MB / 323.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.2045, allocations: 23.98 kB / 323.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.2062, allocations: 1.368 MB / 324.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2062, allocations: 4 kB / 324.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.2088, allocations: 1.288 MB / 326.1 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/0.2093, allocations: 218.4 kB / 326.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.2095, allocations: 11.98 kB / 326.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.2099, allocations: 27.27 kB / 326.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.2101, allocations: 48.42 kB / 326.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.2101, allocations: 27.98 kB / 326.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001642/0.2118, allocations: 1.113 MB / 327.5 MB, free: 8.977 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2118, allocations: 4 kB / 327.5 MB, free: 8.973 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001121/0.2129, allocations: 439 kB / 328 MB, free: 8.543 MB / 282.7 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.0009359/0.2138, allocations: 0.5148 MB / 328.5 MB, free: 8.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.2158, allocations: 0.8193 MB / 329.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2158, allocations: 0 / 329.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.2171, allocations: 0.4981 MB / 329.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.2181, allocations: 230.6 kB / 330 MB, free: 6.527 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.2237, allocations: 2.984 MB / 333 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.2245, allocations: 0.6377 MB / 333.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004711/0.2249, allocations: 162.1 kB / 333.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.2251, allocations: 76.5 kB / 333.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2251, allocations: 0 / 333.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of Templates: time 0.03074/0.2558, allocations: 14.85 MB / 348.7 MB, free: 3.965 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.108946215943433]