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.001813/0.001813, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 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.002092/0.002092, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 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.44/1.44, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 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 0.001571/0.001571, allocations: 42.56 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.0832, allocations: 52.17 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008244/0.09144, allocations: 7.147 MB / 378.7 MB, free: 164 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.1034, allocations: 9.802 MB / 388.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005678/0.104, allocations: 87.06 kB / 388.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.1056, allocations: 0.7692 MB / 389.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.1081, allocations: 1.252 MB / 390.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1096, allocations: 0.6994 MB / 391.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003635/0.1132, allocations: 2.703 MB / 394 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.1136, allocations: 226.2 kB / 394.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006374/0.1142, allocations: 0.5794 MB / 394.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007347/0.1149, allocations: 0.5858 MB / 395.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.1151, allocations: 68 kB / 395.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.1164, allocations: 0.6869 MB / 396.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.1166, allocations: 226.6 kB / 396.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005802/0.1171, allocations: 0.5745 MB / 397 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.1194, allocations: 2.151 MB / 399.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1194, allocations: 3.938 kB / 399.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1194, allocations: 0 / 399.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.1195, allocations: 0 / 399.1 MB, free: 11.64 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.003391/0.1228, allocations: 2.209 MB / 401.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1229, allocations: 16.86 kB / 401.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.1231, allocations: 227.5 kB / 401.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.125, allocations: 1.223 MB / 402.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.1251, allocations: 41.25 kB / 402.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.1252, allocations: 63.89 kB / 402.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.1265, allocations: 0.7151 MB / 403.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1265, allocations: 0 / 403.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.1266, allocations: 20 kB / 403.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.1266, allocations: 27.98 kB / 403.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.1279, allocations: 0.5595 MB / 404.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/0.1313, allocations: 2.249 MB / 406.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.1326, allocations: 0.576 MB / 407 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009086/0.1335, allocations: 494 kB / 407.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006891/0.1404, allocations: 2.916 MB / 410.4 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008557/0.1413, allocations: 379 kB / 410.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=67): time 2.254e-06/0.1413, allocations: 0 / 410.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=67): time 0.005888/0.1472, allocations: 1.977 MB / 412.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.1472, allocations: 85.61 kB / 412.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.1489, allocations: 1.45 MB / 414.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.149, allocations: 37.7 kB / 414.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/0.1497, allocations: 0.7984 MB / 415.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.1499, allocations: 242 kB / 415.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.1501, allocations: 134.6 kB / 415.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1502, allocations: 341.9 kB / 415.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/0.1509, allocations: 245.9 kB / 416.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/0.1517, allocations: 487.8 kB / 416.6 MB, free: 9.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.1532, allocations: 0.7326 MB / 417.3 MB, free: 8.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1532, allocations: 4 kB / 417.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002172/0.1554, allocations: 1.117 MB / 418.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1554, allocations: 8 kB / 418.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/0.1555, allocations: 72 kB / 418.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.1568, allocations: 0.6926 MB / 419.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.1572, allocations: 111.8 kB / 419.3 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.1586, allocations: 1.133 MB / 420.4 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.1592, allocations: 87.53 kB / 420.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.1593, allocations: 43.98 kB / 420.6 MB, free: 5.582 MB / 382.1 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.000418/0.1597, allocations: 285.7 kB / 420.9 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.1599, allocations: 214.7 kB / 421.1 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.1622, allocations: 1.051 MB / 422.1 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.1622, allocations: 15.97 kB / 422.1 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1622, allocations: 0 / 422.1 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1622, allocations: 3.938 kB / 422.1 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/0.1631, allocations: 0.7906 MB / 422.9 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/0.1632, allocations: 71.98 kB / 423 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.1636, allocations: 59.88 kB / 423.1 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.1647, allocations: 0.6554 MB / 423.7 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.1647, allocations: 24.12 kB / 423.7 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.1661, allocations: 1.1 MB / 424.8 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1661, allocations: 0 / 424.8 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.1687, allocations: 1.323 MB / 426.2 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.169, allocations: 218.5 kB / 426.4 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.1692, allocations: 19.92 kB / 426.4 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.1696, allocations: 31.97 kB / 426.4 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.1698, allocations: 60.34 kB / 426.5 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.1698, allocations: 20 kB / 426.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.171, allocations: 0.9449 MB / 427.4 MB, free: 14.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.171, allocations: 0 / 427.4 MB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008608/0.1718, allocations: 435 kB / 427.9 MB, free: 14.15 MB / 398.1 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.0007389/0.1726, allocations: 475.4 kB / 428.3 MB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.1745, allocations: 0.8122 MB / 429.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1745, allocations: 4 kB / 429.1 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.1757, allocations: 494.3 kB / 429.6 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.1766, allocations: 203 kB / 429.8 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/0.1815, allocations: 3.069 MB / 432.9 MB, free: 9.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.1821, allocations: 0.6377 MB / 433.5 MB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.1825, allocations: 162.1 kB / 433.7 MB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1826, allocations: 80.5 kB / 433.8 MB, free: 8.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1826, allocations: 3.938 kB / 433.8 MB, free: 8.137 MB / 398.1 MB Notification: Performance of Templates: time 0.02728/0.2099, allocations: 14.72 MB / 448.5 MB, free: 9.535 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.125975179951638] 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.2174327209359035 0.23184583699999994 0.10948544099999995 Calling exit ...