Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008511/0.0008511, allocations: 106.6 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007512/0.0007513, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1793, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00444/0.1838, allocations: 5.197 MB / 379 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005686/0.1895, allocations: 6.715 MB / 385.7 MB, free: 36.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.1898, allocations: 38.91 kB / 385.8 MB, free: 36.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000888/0.1907, allocations: 446.7 kB / 386.2 MB, free: 35.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.1919, allocations: 0.6658 MB / 386.9 MB, free: 35.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006159/0.1925, allocations: 332.4 kB / 387.2 MB, free: 35.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.1946, allocations: 1.955 MB / 389.2 MB, free: 34.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.1948, allocations: 155.4 kB / 389.3 MB, free: 33.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.195, allocations: 334.2 kB / 389.6 MB, free: 33.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.1953, allocations: 333.7 kB / 390 MB, free: 33.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.1953, allocations: 20 kB / 390 MB, free: 33.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006641/0.196, allocations: 459.6 kB / 390.4 MB, free: 32.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.1961, allocations: 103.2 kB / 390.5 MB, free: 32.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.1963, allocations: 429.1 kB / 390.9 MB, free: 32.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008015/0.1971, allocations: 1.245 MB / 392.2 MB, free: 31.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1971, allocations: 0 / 392.2 MB, free: 31.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1971, allocations: 0 / 392.2 MB, free: 31.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1971, allocations: 0 / 392.2 MB, free: 31.06 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.001372/0.1985, allocations: 1.44 MB / 393.6 MB, free: 29.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.1986, allocations: 8.031 kB / 393.6 MB, free: 29.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1987, allocations: 130.4 kB / 393.8 MB, free: 29.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/0.1995, allocations: 0.8502 MB / 394.6 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1995, allocations: 20.44 kB / 394.6 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.1995, allocations: 20 kB / 394.7 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.1999, allocations: 314.6 kB / 395 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2, allocations: 4 kB / 395 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.2, allocations: 7.938 kB / 395 MB, free: 28.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2, allocations: 8 kB / 395 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.2003, allocations: 221.8 kB / 395.2 MB, free: 27.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2016, allocations: 1.118 MB / 396.3 MB, free: 26.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2019, allocations: 246.5 kB / 396.6 MB, free: 26.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.2023, allocations: 301.4 kB / 396.9 MB, free: 26.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006018/0.2029, allocations: 0.7593 MB / 397.6 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.2029, allocations: 34.56 kB / 397.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.643e-06/0.2029, allocations: 0 / 397.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002128/0.205, allocations: 1.559 MB / 399.2 MB, free: 23.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.2051, allocations: 114.8 kB / 399.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/0.2058, allocations: 0.9301 MB / 400.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2058, allocations: 33.64 kB / 400.3 MB, free: 22.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.206, allocations: 361.5 kB / 400.6 MB, free: 22.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.206, allocations: 130.1 kB / 400.8 MB, free: 22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2062, allocations: 121.5 kB / 400.9 MB, free: 21.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.03e-05/0.2062, allocations: 329.9 kB / 401.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.2064, allocations: 120.6 kB / 401.3 MB, free: 21.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.2066, allocations: 163.6 kB / 401.5 MB, free: 21.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.2077, allocations: 0.7318 MB / 402.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2077, allocations: 0 / 402.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006613/0.2084, allocations: 0.5503 MB / 402.8 MB, free: 19.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.2084, allocations: 43.75 kB / 402.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.2084, allocations: 16 kB / 402.8 MB, free: 19.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.2086, allocations: 73.67 kB / 402.9 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.2088, allocations: 43.91 kB / 402.9 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.2103, allocations: 2.989 MB / 405.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.2105, allocations: 20.02 kB / 405.9 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.2106, allocations: 12 kB / 406 MB, free: 16.46 MB / 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.0002345/0.2108, allocations: 259.9 kB / 406.2 MB, free: 16.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.2109, allocations: 126.5 kB / 406.3 MB, free: 16.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2119, allocations: 0.6647 MB / 407 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2119, allocations: 4 kB / 407 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2119, allocations: 7.922 kB / 407 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2119, allocations: 3.938 kB / 407 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.2124, allocations: 0.6121 MB / 407.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.2124, allocations: 12 kB / 407.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.2126, allocations: 35.97 kB / 407.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.2128, allocations: 69.67 kB / 407.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.2128, allocations: 16 kB / 407.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.2142, allocations: 2.993 MB / 410.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2142, allocations: 3.984 kB / 410.7 MB, free: 11.3 MB / 298.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.005909/0.2201, allocations: 2.939 MB / 413.7 MB, free: 8.18 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.