Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.001886/0.001886, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002203/0.002203, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 43.94 kB / 379 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2179, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006319/0.2242, allocations: 4.644 MB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.2346, allocations: 7.887 MB / 444.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.235, allocations: 59.31 kB / 444.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.2358, allocations: 353.6 kB / 445.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.2376, allocations: 0.8536 MB / 446.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.2388, allocations: 0.5909 MB / 446.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002319/0.2411, allocations: 1.733 MB / 448.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.2413, allocations: 99.34 kB / 448.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.2417, allocations: 330.5 kB / 448.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.2421, allocations: 322 kB / 449.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.2422, allocations: 32 kB / 449.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.2432, allocations: 0.6009 MB / 449.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.2433, allocations: 99.33 kB / 449.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.2436, allocations: 310.1 kB / 450.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.2451, allocations: 1.225 MB / 451.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2451, allocations: 7.984 kB / 451.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2451, allocations: 4 kB / 451.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.2451, allocations: 0 / 451.4 MB, free: 3.543 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.001959/0.2471, allocations: 1.234 MB / 452.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2471, allocations: 8.031 kB / 452.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.2474, allocations: 132.2 kB / 452.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.2487, allocations: 0.7849 MB / 453.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.2487, allocations: 24.5 kB / 453.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.2488, allocations: 27.95 kB / 453.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.2494, allocations: 329.5 kB / 454 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2494, allocations: 0 / 454 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.2494, allocations: 12 kB / 454 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2494, allocations: 7.984 kB / 454 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.2499, allocations: 238 kB / 454.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.2516, allocations: 1.028 MB / 455.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.252, allocations: 178.5 kB / 455.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.2523, allocations: 201.2 kB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006893/0.2592, allocations: 3.091 MB / 458.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.2592, allocations: 38.56 kB / 458.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.2592, allocations: 0 / 458.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001664/0.2609, allocations: 0.5772 MB / 459.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.261, allocations: 81.09 kB / 459.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/0.2619, allocations: 0.782 MB / 460.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.2619, allocations: 29.7 kB / 460.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.2623, allocations: 452.7 kB / 460.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.2624, allocations: 83.25 kB / 460.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-05/0.2625, allocations: 53.94 kB / 460.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2626, allocations: 318 kB / 461.1 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.2628, allocations: 68.2 kB / 461.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.263, allocations: 183.4 kB / 461.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.2634, allocations: 232.1 kB / 461.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2634, allocations: 3.938 kB / 461.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006519/0.2641, allocations: 405.7 kB / 462 MB, free: 8.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2641, allocations: 4 kB / 462 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.2641, allocations: 16 kB / 462 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.2645, allocations: 148.6 kB / 462.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.2646, allocations: 27.98 kB / 462.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007313/0.2654, allocations: 0.7086 MB / 462.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.2656, allocations: 27.78 kB / 462.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.2656, allocations: 20 kB / 462.9 MB, free: 7.676 MB / 366.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.0002417/0.2659, allocations: 193.8 kB / 463.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.266, allocations: 107.3 kB / 463.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.2668, allocations: 398.2 kB / 463.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2668, allocations: 3.938 kB / 463.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/0.2668, allocations: 15.98 kB / 463.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.267, allocations: 99.31 kB / 463.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.2671, allocations: 4 kB / 463.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.2673, allocations: 4 kB / 463.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.2674, allocations: 15.97 kB / 463.8 MB, free: 6.832 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:521:7-523: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/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:521:7-523: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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9812:5-9813:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001178/0.2686, allocations: 0.5612 MB / 464.3 MB, free: 6.266 MB / 366.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.363516195997363] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.D.v', 'RC.v', 'J1.D.v'] 0.2764394309997442 0.290533399 0.042435186 Calling exit ...