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.001274/0.001274, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001541/0.001541, allocations: 152 kB / 24.81 MB, free: 9.273 MB / 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 0.9678/0.9678, allocations: 173.4 MB / 201.4 MB, free: 9.238 MB / 186.7 MB " [Timeout remaining time 179] 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.133e-06/1.133e-06, allocations: 0 / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.496e-05, allocations: 2.312 kB / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.013/0.01302, allocations: 7.73 MB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0211/0.03412, allocations: 10.49 MB / 286.6 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00409/0.03821, allocations: 87.06 kB / 286.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.03994, allocations: 0.7655 MB / 287.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005806/0.04575, allocations: 1.302 MB / 288.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.05033, allocations: 0.7187 MB / 289.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1113/0.1616, allocations: 2.823 MB / 292.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.162, allocations: 230.3 kB / 292.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.1632, allocations: 1.125 MB / 293.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/0.1638, allocations: 486 kB / 294.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.164, allocations: 71.56 kB / 294.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.1653, allocations: 0.6949 MB / 294.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1654, allocations: 229 kB / 295.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004491/0.1659, allocations: 450.6 kB / 295.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1675, allocations: 1.617 MB / 297.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1675, allocations: 1.125 kB / 297.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1675, allocations: 0 / 297.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.598e-05/0.1675, allocations: 0.75 kB / 297.2 MB, free: 15.43 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.002405/0.1699, allocations: 2.363 MB / 299.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.17, allocations: 12.09 kB / 299.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.1703, allocations: 273.5 kB / 299.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.1715, allocations: 1.304 MB / 301.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.1715, allocations: 41.48 kB / 301.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.1716, allocations: 55.45 kB / 301.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.1722, allocations: 0.5219 MB / 301.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1722, allocations: 3.938 kB / 301.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.1722, allocations: 21.17 kB / 301.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.1723, allocations: 20.08 kB / 301.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.1726, allocations: 241.5 kB / 302 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.1745, allocations: 2.027 MB / 304.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.1748, allocations: 343.6 kB / 304.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.1751, allocations: 324 kB / 304.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003588/0.1787, allocations: 3.056 MB / 307.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.1789, allocations: 244.8 kB / 308 MB, free: 11.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.994e-06/0.1789, allocations: 0 / 308 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002641/0.1816, allocations: 1.591 MB / 309.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1816, allocations: 84.58 kB / 309.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.1824, allocations: 1.55 MB / 311.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.1824, allocations: 37.7 kB / 311.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.1828, allocations: 0.9232 MB / 312.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.495e-05/0.1829, allocations: 246.4 kB / 312.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.183, allocations: 149.3 kB / 312.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.183, allocations: 0.5074 MB / 313.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.1831, allocations: 98.62 kB / 313.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1833, allocations: 416.9 kB / 313.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.1836, allocations: 0.5406 MB / 314.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1836, allocations: 3.938 kB / 314.1 MB, free: 7.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006206/0.1842, allocations: 0.8098 MB / 314.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1842, allocations: 10.66 kB / 315 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.901e-05/0.1843, allocations: 75.98 kB / 315 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.1849, allocations: 0.6352 MB / 315.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.1851, allocations: 111.4 kB / 315.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000531/0.1856, allocations: 1.176 MB / 317 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.186, allocations: 83.45 kB / 317 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.186, allocations: 31.98 kB / 317.1 MB, free: 4.66 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.0001963/0.1862, allocations: 203.9 kB / 317.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1863, allocations: 222.7 kB / 317.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007378/0.1871, allocations: 0.764 MB / 318.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1871, allocations: 4 kB / 318.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.1871, allocations: 0 / 318.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1871, allocations: 3.188 kB / 318.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.1876, allocations: 0.6678 MB / 318.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/0.1877, allocations: 72 kB / 319 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.1878, allocations: 43.95 kB / 319 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.1883, allocations: 0.6083 MB / 319.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.1883, allocations: 23.98 kB / 319.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004851/0.1888, allocations: 1.15 MB / 320.8 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1888, allocations: 4 kB / 320.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.1895, allocations: 0.8495 MB / 321.7 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.1898, allocations: 226.4 kB / 321.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.074e-05/0.1899, allocations: 8 kB / 321.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1901, allocations: 27.98 kB / 321.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.1902, allocations: 52.41 kB / 322 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.1902, allocations: 21.19 kB / 322 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005544/0.1907, allocations: 0.8355 MB / 322.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1907, allocations: 0 / 322.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007817/0.1915, allocations: 442.9 kB / 323.3 MB, free: 14.59 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.0006189/0.1921, allocations: 0.5426 MB / 323.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.1928, allocations: 0.5702 MB / 324.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1928, allocations: 128 / 324.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004141/0.1933, allocations: 392.7 kB / 324.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.1939, allocations: 227.3 kB / 325 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.1969, allocations: 2.831 MB / 327.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.1971, allocations: 239.9 kB / 328 MB, free: 9.809 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.1974, allocations: 162.1 kB / 328.2 MB, free: 9.648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.1976, allocations: 273.4 kB / 328.5 MB, free: 9.383 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1976, allocations: 0 / 328.5 MB, free: 9.383 MB / 282.7 MB Notification: Performance of Templates: time 0.02258/0.2202, allocations: 16.78 MB / 345.3 MB, free: 8.855 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: 2.948614808730781]