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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008514, allocations: 93.11 kB / 17.58 MB, free: 5.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008856/0.0008856, allocations: 185.6 kB / 18.48 MB, free: 5.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 224.6 MB, free: 13.14 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004866, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1413, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005363/0.1467, allocations: 4.501 MB / 333.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008653/0.1554, allocations: 5.939 MB / 339.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006013/0.1561, allocations: 35.69 kB / 339.5 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.1576, allocations: 402.8 kB / 339.8 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.1598, allocations: 0.6405 MB / 340.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1611, allocations: 303 kB / 340.8 MB, free: 8.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003243/0.1643, allocations: 1.864 MB / 342.6 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.1647, allocations: 155.5 kB / 342.8 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004721/0.1652, allocations: 294.5 kB / 343.1 MB, free: 5.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.1656, allocations: 317.9 kB / 343.4 MB, free: 5.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.1657, allocations: 16 kB / 343.4 MB, free: 5.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.1668, allocations: 423.7 kB / 343.8 MB, free: 5.172 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.897e-05/0.1669, allocations: 95.27 kB / 343.9 MB, free: 5.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.1671, allocations: 213.1 kB / 344.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.1682, allocations: 0.9037 MB / 345 MB, free: 3.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.1683, allocations: 7.938 kB / 345 MB, free: 3.949 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1683, allocations: 0 / 345 MB, free: 3.949 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.1683, allocations: 4 kB / 345 MB, free: 3.945 MB / 286.1 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.002069/0.1704, allocations: 1.301 MB / 346.3 MB, free: 2.586 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.1704, allocations: 12.03 kB / 346.4 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.1706, allocations: 130.4 kB / 346.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1719, allocations: 0.7969 MB / 347.3 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1719, allocations: 16.44 kB / 347.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.172, allocations: 27.98 kB / 347.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.1725, allocations: 302.6 kB / 347.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1726, allocations: 4 kB / 347.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.1726, allocations: 15.98 kB / 347.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.1726, allocations: 4 kB / 347.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.1731, allocations: 225.8 kB / 347.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.175, allocations: 1.138 MB / 349 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.1754, allocations: 250.4 kB / 349.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.1759, allocations: 296.8 kB / 349.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.1771, allocations: 0.7555 MB / 350.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1771, allocations: 34.56 kB / 350.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 3.426e-06/0.1771, allocations: 0 / 350.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.003088/0.1802, allocations: 1.586 MB / 351.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.1803, allocations: 110.8 kB / 352 MB, free: 12.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1814, allocations: 0.926 MB / 352.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.145e-05/0.1815, allocations: 29.7 kB / 353 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.1818, allocations: 357.7 kB / 353.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.182, allocations: 134 kB / 353.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.182, allocations: 8 kB / 353.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1822, allocations: 322 kB / 353.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.1824, allocations: 124.6 kB / 353.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1827, allocations: 159.8 kB / 354.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.183, allocations: 183.4 kB / 354.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.183, allocations: 0 / 354.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008428/0.1839, allocations: 0.5596 MB / 354.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.1839, allocations: 37.7 kB / 354.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.184, allocations: 12 kB / 354.8 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/0.1843, allocations: 69.67 kB / 354.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.1845, allocations: 59.88 kB / 355 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/0.1876, allocations: 2.985 MB / 358 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.1879, allocations: 16.02 kB / 358 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.1879, allocations: 20 kB / 358 MB, free: 6.188 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004691/0.1884, allocations: 267.9 kB / 358.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.1886, allocations: 122.4 kB / 358.4 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.1899, allocations: 0.6649 MB / 359 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.1899, allocations: 11.98 kB / 359 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.19, allocations: 0 / 359 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.19, allocations: 3.984 kB / 359 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.1909, allocations: 0.6121 MB / 359.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.191, allocations: 15.95 kB / 359.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.1911, allocations: 39.91 kB / 359.7 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.1913, allocations: 73.67 kB / 359.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.1914, allocations: 15.98 kB / 359.8 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.1939, allocations: 2.996 MB / 362.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1939, allocations: 0 / 362.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.1953, allocations: 0.8674 MB / 363.7 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.1957, allocations: 271.5 kB / 363.9 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.863e-05/0.1957, allocations: 8 kB / 363.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.196, allocations: 15.98 kB / 364 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.1961, allocations: 35.98 kB / 364 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.1962, allocations: 19.98 kB / 364 MB, free: 15.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007783/0.1969, allocations: 0.6139 MB / 364.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.197, allocations: 0 / 364.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008764/0.1978, allocations: 223.9 kB / 364.8 MB, free: 14.92 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005409/0.1984, allocations: 302.9 kB / 365.1 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.1996, allocations: 0.7961 MB / 365.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.1996, allocations: 4.062 kB / 365.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006725/0.2003, allocations: 0.6207 MB / 366.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.2008, allocations: 100.8 kB / 366.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.2034, allocations: 1.905 MB / 368.6 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.204, allocations: 0.9959 MB / 369.6 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2041, allocations: 51.42 kB / 369.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2041, allocations: 0 / 369.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of Templates: time 0.2724/0.4765, allocations: 17.21 MB / 386.8 MB, free: 51.14 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.GraetzCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.GraetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.GraetzCalcHelperMain.o] Error 1