Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 226.8 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009254/0.000925, allocations: 112.9 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.21, allocations: 50.46 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004142/0.2141, allocations: 5.204 MB / 412.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.2202, allocations: 6.807 MB / 419.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005012/0.2207, allocations: 35.75 kB / 419.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009858/0.2217, allocations: 445.6 kB / 419.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.2232, allocations: 0.6833 MB / 420.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007895/0.224, allocations: 331 kB / 420.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.226, allocations: 2.003 MB / 422.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.2263, allocations: 168 kB / 422.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.2267, allocations: 346.1 kB / 423 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.2269, allocations: 337.7 kB / 423.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.227, allocations: 20 kB / 423.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008782/0.2279, allocations: 491.5 kB / 423.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.2279, allocations: 103.2 kB / 424 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.2282, allocations: 437 kB / 424.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.2291, allocations: 1.245 MB / 425.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2291, allocations: 0 / 425.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2291, allocations: 0 / 425.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2291, allocations: 0 / 425.6 MB, free: 9.156 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001485/0.2306, allocations: 1.44 MB / 427.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2307, allocations: 19.97 kB / 427.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.2309, allocations: 146.3 kB / 427.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.2318, allocations: 0.8503 MB / 428.1 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2318, allocations: 12.44 kB / 428.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.2318, allocations: 24 kB / 428.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.2322, allocations: 310.6 kB / 428.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2323, allocations: 0 / 428.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.2323, allocations: 16 kB / 428.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2323, allocations: 4 kB / 428.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.2326, allocations: 225.7 kB / 428.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.234, allocations: 1.126 MB / 429.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.2343, allocations: 238.5 kB / 430 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.2348, allocations: 300.7 kB / 430.3 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007619/0.2355, allocations: 0.8269 MB / 431.2 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2356, allocations: 42.8 kB / 431.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 2.003e-06/0.2356, allocations: 4 kB / 431.2 MB, free: 3.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002393/0.238, allocations: 1.544 MB / 432.7 MB, free: 1.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.238, allocations: 118.8 kB / 432.9 MB, free: 1.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007334/0.2388, allocations: 0.9339 MB / 433.8 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.2388, allocations: 33.7 kB / 433.8 MB, free: 480 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.239, allocations: 357.6 kB / 434.2 MB, free: 120 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.2391, allocations: 130.1 kB / 434.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.2392, allocations: 117.5 kB / 434.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2393, allocations: 321.9 kB / 434.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2396, allocations: 132.5 kB / 434.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.2399, allocations: 160.4 kB / 435 MB, free: 15.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.2412, allocations: 0.7334 MB / 435.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2412, allocations: 3.938 kB / 435.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000837/0.242, allocations: 0.554 MB / 436.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.2421, allocations: 44.5 kB / 436.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.2421, allocations: 12 kB / 436.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.2423, allocations: 69.72 kB / 436.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.2425, allocations: 47.91 kB / 436.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.2446, allocations: 2.997 MB / 439.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.2449, allocations: 15.97 kB / 439.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.245, allocations: 16 kB / 439.5 MB, free: 10.43 MB / 314.7 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003366/0.2453, allocations: 265.4 kB / 439.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.2454, allocations: 122.5 kB / 439.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.2467, allocations: 0.6684 MB / 440.6 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.2467, allocations: 4 kB / 440.6 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.2467, allocations: 3.938 kB / 440.6 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2467, allocations: 3.938 kB / 440.6 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.2473, allocations: 0.62 MB / 441.2 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/0.2474, allocations: 12 kB / 441.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.2475, allocations: 31.98 kB / 441.2 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.2477, allocations: 65.67 kB / 441.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.2478, allocations: 23.98 kB / 441.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.2497, allocations: 2.996 MB / 444.3 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2497, allocations: 4.031 kB / 444.3 MB, free: 5.266 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "algorithm rout.i := $START.rout.i; rout.vp.m_dCond_dTemp := $START.rout.vp.m_dCond_dTemp; rout.vp.m_dConduct := $START.rout.vp.m_dConduct; rout.vp.m_dResist := $START.rout.vp.m_dResist; rout.vp.m_dLength := $START.rout.vp.m_dLength; rout.vp.m_dWidth := $START.rout.vp.m_dWidth; rout.vp := Modelica.Electrical.Spice3.Internal.Rsemiconductor.resistorInitEquations(Modelica.Electrical.Spice3.Internal.Rsemiconductor.ResistorParams(10.0, 1.0, 0.0, 0.0, 0.0, 0.0, false, 300.15), Modelica.Electrical.Spice3.Internal.Rsemiconductor.ResistorModelLineParams(0.0, 0.0, 0.0, 0.0, 1e-05, 0.0, 300.15)); (rout.vp.m_dConduct, rout.vp.m_dCond_dTemp) := Modelica.Electrical.Spice3.Internal.Functions.resDepTemp(rout.vp.m_dResist, 300.15, 300.15, 0.0, 0.0); rout.i := rout.vp.m_dConduct * rout.v; " w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007185/0.2569, allocations: 2.932 MB / 447.2 MB, free: 2.148 MB / 314.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.