Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009831, allocations: 109.9 kB / 291.2 MB, free: 10.97 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008887/0.0008888, allocations: 47.92 kB / 350 MB, free: 112 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2298, allocations: 49.43 MB / 399.5 MB, free: 33.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00459/0.2345, allocations: 5.192 MB / 404.7 MB, free: 28.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007038/0.2415, allocations: 6.763 MB / 411.4 MB, free: 21.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/0.2422, allocations: 35.75 kB / 411.5 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.2434, allocations: 453.6 kB / 411.9 MB, free: 20.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.2451, allocations: 0.6794 MB / 412.6 MB, free: 20.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.246, allocations: 327 kB / 412.9 MB, free: 19.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.2479, allocations: 1.965 MB / 414.9 MB, free: 17.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.2482, allocations: 155.4 kB / 415 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.2485, allocations: 338.2 kB / 415.3 MB, free: 17.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.2488, allocations: 341.6 kB / 415.7 MB, free: 17.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.2488, allocations: 20 kB / 415.7 MB, free: 17.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000869/0.2497, allocations: 483.5 kB / 416.2 MB, free: 16.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.2498, allocations: 99.2 kB / 416.3 MB, free: 16.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.2501, allocations: 437 kB / 416.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009175/0.251, allocations: 1.238 MB / 417.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.251, allocations: 0 / 417.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.251, allocations: 4 kB / 417.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.251, allocations: 0 / 417.9 MB, free: 14.86 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.001528/0.2526, allocations: 1.44 MB / 419.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2526, allocations: 8.031 kB / 419.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.2527, allocations: 130.3 kB / 419.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.2536, allocations: 0.8502 MB / 420.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2536, allocations: 16.44 kB / 420.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.2537, allocations: 27.98 kB / 420.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.2541, allocations: 302.7 kB / 420.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2541, allocations: 4 kB / 420.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.2542, allocations: 8 kB / 420.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2542, allocations: 11.98 kB / 420.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.2545, allocations: 229.6 kB / 420.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.2559, allocations: 1.118 MB / 422.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.2562, allocations: 250.2 kB / 422.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.2566, allocations: 296.8 kB / 422.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007197/0.2573, allocations: 0.7477 MB / 423.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.2574, allocations: 42.56 kB / 423.4 MB, free: 9.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 2.354e-06/0.2574, allocations: 0 / 423.4 MB, free: 9.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002377/0.2598, allocations: 1.554 MB / 424.9 MB, free: 7.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.2598, allocations: 114.8 kB / 425.1 MB, free: 7.277 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.2606, allocations: 0.9262 MB / 426 MB, free: 6.344 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.2606, allocations: 37.69 kB / 426 MB, free: 6.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.2608, allocations: 357.5 kB / 426.4 MB, free: 5.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.2609, allocations: 130.1 kB / 426.5 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.261, allocations: 117.5 kB / 426.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.2611, allocations: 325.9 kB / 426.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2613, allocations: 120.6 kB / 427 MB, free: 5.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.2615, allocations: 163.8 kB / 427.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.2626, allocations: 0.7258 MB / 427.9 MB, free: 4.328 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2626, allocations: 0 / 427.9 MB, free: 4.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007105/0.2633, allocations: 0.5578 MB / 428.5 MB, free: 3.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.2634, allocations: 37.7 kB / 428.5 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.2634, allocations: 20.02 kB / 428.5 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.2636, allocations: 65.69 kB / 428.6 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.2639, allocations: 47.91 kB / 428.7 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.2654, allocations: 2.986 MB / 431.6 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.2657, allocations: 19.95 kB / 431.7 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.2658, allocations: 16 kB / 431.7 MB, free: 280 kB / 298.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.0002997/0.2661, allocations: 256 kB / 431.9 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.2662, allocations: 126.5 kB / 432.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.2675, allocations: 0.6647 MB / 432.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.2675, allocations: 4 kB / 432.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.2676, allocations: 3.938 kB / 432.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2676, allocations: 3.938 kB / 432.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.2683, allocations: 0.6199 MB / 433.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/0.2683, allocations: 15.98 kB / 433.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.2685, allocations: 35.92 kB / 433.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.2687, allocations: 69.67 kB / 433.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.2687, allocations: 19.98 kB / 433.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.2709, allocations: 2.985 MB / 436.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.271, allocations: 0 / 436.5 MB, free: 11.13 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.007063/0.278, allocations: 2.947 MB / 439.4 MB, free: 7.992 MB / 314.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.