Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001773/0.001773, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002192, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.397/1.397, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2085, allocations: 53.32 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006218/0.2147, allocations: 5.332 MB / 437.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.2252, allocations: 9.152 MB / 446.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.2256, allocations: 43.69 kB / 446.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008391/0.2265, allocations: 401.4 kB / 447 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.2282, allocations: 0.838 MB / 447.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.2294, allocations: 0.6026 MB / 448.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002259/0.2316, allocations: 1.728 MB / 450.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.2319, allocations: 103 kB / 450.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.2322, allocations: 310.6 kB / 450.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.2326, allocations: 333.9 kB / 450.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.2327, allocations: 28 kB / 450.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.2339, allocations: 0.6594 MB / 451.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.393e-05/0.234, allocations: 103.3 kB / 451.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.2343, allocations: 405.5 kB / 452 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.2357, allocations: 1.218 MB / 453.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2357, allocations: 7.938 kB / 453.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2357, allocations: 0 / 453.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.2358, allocations: 0 / 453.3 MB, free: 2.039 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001935/0.2377, allocations: 1.306 MB / 454.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2377, allocations: 8.031 kB / 454.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.238, allocations: 132.2 kB / 454.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.2393, allocations: 0.8648 MB / 455.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2393, allocations: 20.56 kB / 455.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.2394, allocations: 27.95 kB / 455.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.2399, allocations: 311.6 kB / 455.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2399, allocations: 0 / 455.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.2399, allocations: 8 kB / 455.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2399, allocations: 8 kB / 455.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.2404, allocations: 230.1 kB / 456.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.2422, allocations: 1.198 MB / 457.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.2425, allocations: 170.7 kB / 457.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.2428, allocations: 204.4 kB / 457.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009317/0.2521, allocations: 8.886 MB / 466.6 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.2522, allocations: 38.56 kB / 466.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.2522, allocations: 0 / 466.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001572/0.2537, allocations: 0.6538 MB / 467.3 MB, free: 2.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2538, allocations: 77.11 kB / 467.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008977/0.2547, allocations: 0.8025 MB / 468.2 MB, free: 1.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2547, allocations: 33.7 kB / 468.2 MB, free: 1.344 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.2551, allocations: 441 kB / 468.7 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.578e-05/0.2552, allocations: 87.25 kB / 468.7 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.2553, allocations: 57.89 kB / 468.8 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2554, allocations: 321.9 kB / 469.1 MB, free: 452 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2555, allocations: 68.2 kB / 469.2 MB, free: 384 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.2557, allocations: 150.4 kB / 469.3 MB, free: 200 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.2561, allocations: 216.5 kB / 469.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2561, allocations: 0 / 469.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006319/0.2567, allocations: 420.9 kB / 469.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2568, allocations: 8 kB / 470 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.2568, allocations: 12 kB / 470 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.2571, allocations: 147.8 kB / 470.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2573, allocations: 31.98 kB / 470.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006717/0.258, allocations: 0.7153 MB / 470.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.2582, allocations: 23.84 kB / 470.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.2582, allocations: 12 kB / 470.9 MB, free: 14.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002345/0.2585, allocations: 205.8 kB / 471.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.2586, allocations: 107.3 kB / 471.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007689/0.2594, allocations: 399.3 kB / 471.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2594, allocations: 0 / 471.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/0.2594, allocations: 15.98 kB / 471.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.2596, allocations: 176.4 kB / 471.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.2597, allocations: 0 / 471.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2599, allocations: 19.86 kB / 471.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.26, allocations: 11.98 kB / 471.8 MB, free: 13.61 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (3): (J2.cc.idrain, J2.cc.iGD, J2.cc.iGS) = Modelica.Electrical.Spice3.Internal.Jfet.jfetNoBypassCode_eval5(Modelica.Electrical.Spice3.Internal.Fet.Fet(300.15, 1.0, false, 0.0, 0.0, 0.0, 0.0, false, 1e-14, 1.0, 0.0, 0.0, 0.5, 0.7302825626525529, 0.5857864376269049, 0.3535533905932738, 0.25, 0.025864680954552383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), Modelica.Electrical.Spice3.Internal.Jfet.JfetModelLine(-2.0, 1e-4, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1e-14, 0.5, 1.0, 0.0, 1.0, 0.0, 0.0, 300.15, 0.0), 1, false, {J2.vGS, J1.Sinternal, 0.0}) Variables: 1: J2.cc.iGD:VARIABLE(start = 0.0 unit = \"A\" ) type: Real 2: J2.cc.iGS:VARIABLE(start = 0.0 unit = \"A\" ) type: Real 3: J1.Sinternal:VARIABLE(start = 0.0 unit = \"V\" ) type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): J1.vGD = U0.V - J1.Dinternal 2/2 (3): (J1.cc.idrain, J1.cc.iGD, J1.cc.iGS) = Modelica.Electrical.Spice3.Internal.Jfet.jfetNoBypassCode_eval2(Modelica.Electrical.Spice3.Internal.Fet.Fet(300.15, 1.0, false, 0.0, 0.0, 0.0, 0.0, false, 1e-14, 1.0, 0.0, 0.0, 0.5, 0.7302825626525529, 0.5857864376269049, 0.3535533905932738, 0.25, 0.025864680954552383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), Modelica.Electrical.Spice3.Internal.Jfet.JfetModelLine(-2.0, 1e-4, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1e-14, 0.5, 1.0, 0.0, 1.0, 0.0, 0.0, 300.15, 0.0), 1, false, {U0.V, J1.Dinternal, J1.Sinternal}) 3/5 (1): 0.0 = (-J1.cc.idrain) - J1.irs - J1.cc.iGS - J1.igsgmin 4/6 (1): 0.0 = J2.cc.idrain + J1.irs + (-J2.cc.iGD) - J2.igdgmin 5/7 (3): (J2.cc.idrain, J2.cc.iGD, J2.cc.iGS) = Modelica.Electrical.Spice3.Internal.Jfet.jfetNoBypassCode_eval5(Modelica.Electrical.Spice3.Internal.Fet.Fet(300.15, 1.0, false, 0.0, 0.0, 0.0, 0.0, false, 1e-14, 1.0, 0.0, 0.0, 0.5, 0.7302825626525529, 0.5857864376269049, 0.3535533905932738, 0.25, 0.025864680954552383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), Modelica.Electrical.Spice3.Internal.Jfet.JfetModelLine(-2.0, 1e-4, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1e-14, 0.5, 1.0, 0.0, 1.0, 0.0, 0.0, 300.15, 0.0), 1, false, {J2.vGS, J1.Sinternal, 0.0}) 6/10 (1): J2.vGD = J2.vGS - J1.Sinternal 7/11 (1): J2.igdgmin = 1e-12 * J2.vGD 8/12 (1): J1.vGS = U0.V - J1.Sinternal 9/13 (1): J1.igsgmin = 1e-12 * J1.vGS 10/14 (1): 0.0 = J1.cc.idrain + UDD.i + (-J1.cc.iGD) - J1.igdgmin 11/15 (1): J1.igdgmin = 1e-12 * J1.vGD 12/16 (1): RC.v = J1.Dinternal - UDD.V 13/17 (1): RC.R * UDD.i = RC.v Variables: 1: UDD.i:VARIABLE(unit = \"A\" ) \"Current flowing from pin p to pin n\" type: Real 2: RC.v:VARIABLE(start = 0.0 unit = \"V\" ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real 3: J1.vGD:VARIABLE(unit = \"V\" ) type: Real 4: J1.igdgmin:VARIABLE(unit = \"A\" ) type: Real 5: J1.igsgmin:VARIABLE(unit = \"A\" ) type: Real 6: J1.vGS:VARIABLE(unit = \"V\" ) type: Real 7: J2.igdgmin:VARIABLE(unit = \"A\" ) type: Real 8: J2.vGD:VARIABLE(unit = \"V\" ) type: Real 9: J2.cc.iGD:VARIABLE(start = 0.0 unit = \"A\" ) type: Real 10: J2.cc.iGS:VARIABLE(start = 0.0 unit = \"A\" ) type: Real 11: J1.Sinternal:VARIABLE(start = 0.0 unit = \"V\" ) type: Real 12: J2.cc.idrain:VARIABLE(start = 0.0 unit = \"A\" ) type: Real 13: J1.irs:VARIABLE(unit = \"A\" ) type: Real 14: J1.cc.idrain:VARIABLE(start = 0.0 unit = \"A\" ) type: Real 15: J1.cc.iGD:VARIABLE(start = 0.0 unit = \"A\" ) type: Real 16: J1.cc.iGS:VARIABLE(start = 0.0 unit = \"A\" ) type: Real 17: J1.Dinternal:VARIABLE(unit = \"V\" ) type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9810:5-9811:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001148/0.2611, allocations: 0.5478 MB / 472.4 MB, free: 13.07 MB / 382.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Modelica.Electrical.Spice3.Examples.CascodeCircuit could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.3305229172110558] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.D.v', 'RC.v', 'J1.D.v'] 0.26884959219023585 0.282418745 0.043745054000000005 Calling exit ...