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.001372/0.001372, allocations: 78.09 kB / 20.68 MB, free: 1.035 MB / 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.001326/0.001326, allocations: 154.5 kB / 23.94 MB, free: 4.176 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.399/1.399, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 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.263e-06/1.263e-06, allocations: 3.938 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.135e-05, allocations: 2.281 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006928/0.00695, allocations: 7.132 MB / 326.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.02129, allocations: 9.808 MB / 335.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.02269, allocations: 83.91 kB / 336 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.02483, allocations: 0.7845 MB / 336.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.02878, allocations: 1.285 MB / 338 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.03073, allocations: 0.718 MB / 338.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004232/0.03496, allocations: 2.775 MB / 341.5 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.0354, allocations: 233.8 kB / 341.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.03646, allocations: 0.8221 MB / 342.6 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006802/0.03714, allocations: 439.7 kB / 343 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.03727, allocations: 64 kB / 343.1 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.03893, allocations: 0.6985 MB / 343.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.03916, allocations: 226.6 kB / 344 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.03972, allocations: 446.6 kB / 344.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.04235, allocations: 2.164 MB / 346.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.04235, allocations: 0 / 346.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04235, allocations: 0 / 346.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.04238, allocations: 0 / 346.6 MB, free: 15.93 MB / 318.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.003529/0.04591, allocations: 2.178 MB / 348.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.04594, allocations: 8.922 kB / 348.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003022/0.04624, allocations: 235.5 kB / 349 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.04823, allocations: 1.222 MB / 350.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.04827, allocations: 45.67 kB / 350.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.04839, allocations: 56.33 kB / 350.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.04985, allocations: 0.7267 MB / 351 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.04987, allocations: 3.938 kB / 351 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.04993, allocations: 20 kB / 351.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.04995, allocations: 15.98 kB / 351.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.05143, allocations: 0.575 MB / 351.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.05504, allocations: 2.23 MB / 353.9 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.05641, allocations: 0.5649 MB / 354.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009627/0.05737, allocations: 486.2 kB / 354.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007339/0.06471, allocations: 2.931 MB / 357.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008853/0.0656, allocations: 383 kB / 358.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.505e-06/0.0656, allocations: 0 / 358.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.006519/0.07212, allocations: 1.974 MB / 360.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.0722, allocations: 93.59 kB / 360.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.07406, allocations: 1.439 MB / 361.7 MB, free: 412 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.07412, allocations: 45.64 kB / 361.8 MB, free: 360 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008004/0.07492, allocations: 0.7945 MB / 362.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.07514, allocations: 234 kB / 362.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.07538, allocations: 138.6 kB / 362.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.07556, allocations: 334 kB / 363.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000671/0.07623, allocations: 249.8 kB / 363.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008698/0.0771, allocations: 479.9 kB / 364 MB, free: 14.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.07871, allocations: 0.7442 MB / 364.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.07871, allocations: 4 kB / 364.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002269/0.08098, allocations: 1.113 MB / 365.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.081, allocations: 8 kB / 365.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.08113, allocations: 75.98 kB / 365.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.0825, allocations: 0.6923 MB / 366.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.083, allocations: 111.8 kB / 366.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.08452, allocations: 1.133 MB / 367.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.08518, allocations: 79.55 kB / 367.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.24e-05/0.08526, allocations: 40 kB / 368 MB, free: 9.922 MB / 334.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.0005265/0.08579, allocations: 289.6 kB / 368.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.08603, allocations: 206.7 kB / 368.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.08852, allocations: 1.066 MB / 369.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.08853, allocations: 8 kB / 369.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.08853, allocations: 0 / 369.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.08854, allocations: 3.984 kB / 369.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.08962, allocations: 0.8058 MB / 370.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001224/0.08974, allocations: 76.11 kB / 370.4 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.0901, allocations: 51.95 kB / 370.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/0.09137, allocations: 0.6554 MB / 371.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.09142, allocations: 23.98 kB / 371.1 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.09286, allocations: 1.092 MB / 372.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.09286, allocations: 3.938 kB / 372.2 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.09582, allocations: 1.327 MB / 373.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.09626, allocations: 210.5 kB / 373.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.09646, allocations: 12 kB / 373.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.09701, allocations: 35.95 kB / 373.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.09718, allocations: 48.42 kB / 373.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.09725, allocations: 31.98 kB / 373.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.09881, allocations: 0.9409 MB / 374.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09881, allocations: 0 / 374.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001018/0.09982, allocations: 435 kB / 375.3 MB, free: 2.492 MB / 334.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.0009995/0.1008, allocations: 0.5033 MB / 375.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.1031, allocations: 0.8201 MB / 376.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1031, allocations: 0 / 376.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.1044, allocations: 490.3 kB / 377.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.1054, allocations: 211 kB / 377.3 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/0.1114, allocations: 2.948 MB / 380.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.1122, allocations: 0.6416 MB / 380.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004856/0.1126, allocations: 158.1 kB / 381 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.1128, allocations: 76.48 kB / 381.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1128, allocations: 4 kB / 381.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Templates: time 0.03046/0.1433, allocations: 14.66 MB / 395.8 MB, free: 14.01 MB / 366.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 -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: 4.74920105189085] 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.15148702636361122 0.16697056700000001 0.121513276 Calling exit ...