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.00125/0.00125, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001444/0.001444, allocations: 209.9 kB / 24.49 MB, free: 4.148 MB / 14.72 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 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 0.001477/0.001477, allocations: 47.92 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2456, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009392/0.255, allocations: 8.372 MB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.2694, allocations: 11.39 MB / 452.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.2705, allocations: 87.06 kB / 452.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.2727, allocations: 0.857 MB / 453.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.2764, allocations: 1.252 MB / 454.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.2785, allocations: 0.7034 MB / 455.1 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004206/0.2827, allocations: 2.734 MB / 457.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/0.2831, allocations: 238.2 kB / 458 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007825/0.2839, allocations: 0.5754 MB / 458.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.2847, allocations: 0.6289 MB / 459.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.2848, allocations: 68 kB / 459.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.2866, allocations: 0.7961 MB / 460.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.2868, allocations: 214.7 kB / 460.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007305/0.2875, allocations: 0.7685 MB / 461.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.2902, allocations: 2.143 MB / 463.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2902, allocations: 0 / 463.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2902, allocations: 0 / 463.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.2902, allocations: 0 / 463.2 MB, free: 7.957 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.003521/0.2937, allocations: 2.225 MB / 465.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2938, allocations: 12.03 kB / 465.4 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.2942, allocations: 239.5 kB / 465.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.2962, allocations: 1.215 MB / 466.9 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.2962, allocations: 45.25 kB / 466.9 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.2964, allocations: 60 kB / 467 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.2976, allocations: 0.69 MB / 467.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2977, allocations: 0 / 467.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/0.2977, allocations: 20 kB / 467.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.2977, allocations: 19.98 kB / 467.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.299, allocations: 0.5712 MB / 468.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/0.3028, allocations: 2.471 MB / 470.8 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.304, allocations: 0.5689 MB / 471.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000872/0.3049, allocations: 498 kB / 471.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006329/0.3112, allocations: 2.723 MB / 474.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008678/0.3121, allocations: 410.9 kB / 475 MB, free: 11.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/0.3121, allocations: 0 / 475 MB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007211/0.3193, allocations: 2.317 MB / 477.3 MB, free: 9.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.3194, allocations: 85.61 kB / 477.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.3212, allocations: 1.426 MB / 478.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.3212, allocations: 33.7 kB / 478.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/0.322, allocations: 0.8025 MB / 479.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.3222, allocations: 253.8 kB / 479.9 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.3224, allocations: 138.6 kB / 480 MB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3226, allocations: 345.9 kB / 480.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006198/0.3232, allocations: 253.9 kB / 480.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.324, allocations: 450 kB / 481 MB, free: 5.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.3274, allocations: 1.552 MB / 482.6 MB, free: 4.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3274, allocations: 3.938 kB / 482.6 MB, free: 4.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002242/0.3296, allocations: 1.134 MB / 483.7 MB, free: 2.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3296, allocations: 8 kB / 483.7 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/0.3298, allocations: 83.98 kB / 483.8 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.3308, allocations: 0.597 MB / 484.4 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.3314, allocations: 143.8 kB / 484.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.3329, allocations: 1.524 MB / 486.1 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006455/0.3336, allocations: 99.55 kB / 486.2 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.3336, allocations: 39.94 kB / 486.2 MB, free: 364 kB / 382.1 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.0005692/0.3342, allocations: 301.2 kB / 486.5 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.3345, allocations: 214.8 kB / 486.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.3368, allocations: 1.122 MB / 487.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3369, allocations: 8 kB / 487.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3369, allocations: 0 / 487.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3369, allocations: 3.984 kB / 487.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.3381, allocations: 0.9628 MB / 488.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000124/0.3382, allocations: 79.98 kB / 488.9 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.3386, allocations: 63.94 kB / 488.9 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.3398, allocations: 0.6553 MB / 489.6 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.3398, allocations: 20 kB / 489.6 MB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.3412, allocations: 1.141 MB / 490.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3412, allocations: 0 / 490.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.344, allocations: 1.413 MB / 492.2 MB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.3445, allocations: 222.5 kB / 492.4 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.3447, allocations: 15.94 kB / 492.4 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.3451, allocations: 40.08 kB / 492.4 MB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3453, allocations: 60.34 kB / 492.5 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.3453, allocations: 24 kB / 492.5 MB, free: 9.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.3466, allocations: 0.9406 MB / 493.5 MB, free: 8.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3466, allocations: 4 kB / 493.5 MB, free: 8.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009115/0.3475, allocations: 434.9 kB / 493.9 MB, free: 8.516 MB / 398.1 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.0007825/0.3483, allocations: 480.4 kB / 494.4 MB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.3502, allocations: 0.8266 MB / 495.2 MB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3502, allocations: 3.938 kB / 495.2 MB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3514, allocations: 0.5077 MB / 495.7 MB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.3524, allocations: 214.9 kB / 495.9 MB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.3575, allocations: 3.054 MB / 499 MB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008846/0.3584, allocations: 1.22 MB / 0.4885 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.3586, allocations: 79.44 kB / 0.4885 GB, free: 2.035 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3586, allocations: 0 / 0.4885 GB, free: 2.035 MB / 398.1 MB Notification: Performance of Templates: time 0.03687/0.3955, allocations: 28.59 MB / 0.5165 GB, free: 5.441 MB / 430.1 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: 8.335391358006746] 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.4041315179783851 0.418422421 0.12515949499999995 Calling exit ...