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.001916/0.001916, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002311/0.002311, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.502/1.502, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.002322/0.002322, allocations: 51.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1325, allocations: 53.32 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2136/0.3462, allocations: 8.354 MB / 435.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.3585, allocations: 11.37 MB / 446.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.3597, allocations: 87.03 kB / 446.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.3619, allocations: 0.849 MB / 447.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004405/0.3663, allocations: 1.232 MB / 448.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.3688, allocations: 0.7148 MB / 449.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004628/0.3734, allocations: 2.723 MB / 452.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.3739, allocations: 239 kB / 452.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009873/0.3749, allocations: 0.5754 MB / 452.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/0.3757, allocations: 0.6223 MB / 453.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.3758, allocations: 67.44 kB / 453.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.3785, allocations: 0.7916 MB / 454.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.3787, allocations: 219.4 kB / 454.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007788/0.3795, allocations: 0.7743 MB / 455.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.3826, allocations: 2.135 MB / 457.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3826, allocations: 0 / 457.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3826, allocations: 0 / 457.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.3826, allocations: 1.375 kB / 457.5 MB, free: 10.22 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.003855/0.3865, allocations: 2.287 MB / 459.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3865, allocations: 9.469 kB / 459.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/0.387, allocations: 246.2 kB / 460.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.3889, allocations: 1.322 MB / 461.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.389, allocations: 48.31 kB / 461.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.3891, allocations: 52.27 kB / 461.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.3907, allocations: 0.6976 MB / 462.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3907, allocations: 0 / 462.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.3908, allocations: 20.31 kB / 462.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.3908, allocations: 18.09 kB / 462.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.3923, allocations: 0.5697 MB / 462.8 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004024/0.3963, allocations: 2.521 MB / 465.3 MB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3978, allocations: 0.5686 MB / 465.9 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.3988, allocations: 484.9 kB / 466.4 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008184/0.407, allocations: 5.9 MB / 472.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008656/0.4079, allocations: 398.1 kB / 472.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.815e-06/0.4079, allocations: 0 / 472.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.00744/0.4153, allocations: 2.404 MB / 475.1 MB, free: 13.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4154, allocations: 92.84 kB / 475.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.4176, allocations: 1.425 MB / 476.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.4177, allocations: 36.45 kB / 476.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008326/0.4185, allocations: 0.785 MB / 477.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.4188, allocations: 262.6 kB / 477.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/0.4191, allocations: 139.3 kB / 477.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002693/0.4194, allocations: 345.6 kB / 478.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007967/0.4202, allocations: 256.2 kB / 478.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008374/0.421, allocations: 447.4 kB / 478.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/0.4248, allocations: 1.557 MB / 480.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.4248, allocations: 0 / 480.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002622/0.4274, allocations: 1.132 MB / 481.5 MB, free: 8.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4274, allocations: 12.09 kB / 481.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/0.4275, allocations: 83.98 kB / 481.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.4286, allocations: 0.599 MB / 482.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.4293, allocations: 135.8 kB / 482.3 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.431, allocations: 1.535 MB / 483.9 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008693/0.4319, allocations: 91.42 kB / 484 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.4319, allocations: 32 kB / 484 MB, free: 5.887 MB / 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.0007245/0.4327, allocations: 299.6 kB / 484.3 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.4329, allocations: 210.7 kB / 484.5 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.4357, allocations: 1.124 MB / 485.6 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.4357, allocations: 8 kB / 485.6 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4357, allocations: 0.875 kB / 485.6 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4357, allocations: 7.922 kB / 485.6 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.4371, allocations: 0.991 MB / 486.6 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001202/0.4372, allocations: 79.98 kB / 486.7 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.4376, allocations: 67.88 kB / 486.8 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.4389, allocations: 0.6514 MB / 487.4 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.4389, allocations: 27.12 kB / 487.4 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.4404, allocations: 1.141 MB / 488.6 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4404, allocations: 0 / 488.6 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/0.4434, allocations: 1.41 MB / 490 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.4438, allocations: 291.7 kB / 490.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.444, allocations: 16.88 kB / 490.3 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/0.4446, allocations: 43.95 kB / 490.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.4447, allocations: 52.44 kB / 490.4 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.4448, allocations: 27.98 kB / 490.4 MB, free: 15.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.4461, allocations: 0.9367 MB / 491.4 MB, free: 14.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4461, allocations: 0 / 491.4 MB, free: 14.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001144/0.4472, allocations: 442.9 kB / 491.8 MB, free: 13.92 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.0009204/0.4482, allocations: 492.2 kB / 492.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.4503, allocations: 0.8191 MB / 493.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4503, allocations: 4.062 kB / 493.1 MB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.4517, allocations: 0.504 MB / 493.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4527, allocations: 199.5 kB / 493.8 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.4582, allocations: 3.036 MB / 496.8 MB, free: 8.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008988/0.4591, allocations: 1.224 MB / 498 MB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004586/0.4596, allocations: 166.1 kB / 498.2 MB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.4598, allocations: 75.42 kB / 498.3 MB, free: 7.344 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4598, allocations: 0 / 498.3 MB, free: 7.344 MB / 398.1 MB Notification: Performance of Templates: time 0.03276/0.4925, allocations: 16.79 MB / 0.503 GB, free: 6.637 MB / 414.1 MB " [Timeout remaining time 659] 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: 5.480748362839222] 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.5029596760869026 0.5268705890000001 0.138932472 Calling exit ...