Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008161/0.0008164, allocations: 89.5 kB / 17.58 MB, free: 5.797 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.00102/0.00102, allocations: 186.2 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.729/1.729, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004578/0.0004578, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005213/0.1244, allocations: 4.706 MB / 333.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01774/0.1422, allocations: 16.74 MB / 350.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.1433, allocations: 11.94 kB / 350.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.1456, allocations: 0.7043 MB / 351.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.1512, allocations: 1.216 MB / 352.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.1552, allocations: 0.9677 MB / 353.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003186/0.1584, allocations: 1.632 MB / 355 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.1587, allocations: 147.8 kB / 355.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.1591, allocations: 286.6 kB / 355.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.1595, allocations: 318.2 kB / 355.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.1596, allocations: 20 kB / 355.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.1626, allocations: 1.054 MB / 356.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.1627, allocations: 91.38 kB / 356.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.1629, allocations: 213.1 kB / 357.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.1642, allocations: 1.13 MB / 358.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1642, allocations: 0 / 358.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1643, allocations: 0 / 358.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1643, allocations: 0 / 358.2 MB, free: 6.762 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001955/0.1662, allocations: 1.273 MB / 359.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1663, allocations: 12.03 kB / 359.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.1664, allocations: 118.6 kB / 359.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1675, allocations: 0.7325 MB / 360.3 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.1675, allocations: 28.48 kB / 360.4 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/0.1676, allocations: 23.91 kB / 360.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/0.1684, allocations: 356.7 kB / 360.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1684, allocations: 4 kB / 360.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.1684, allocations: 8 kB / 360.7 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.1684, allocations: 11.98 kB / 360.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.1693, allocations: 386 kB / 361.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.1712, allocations: 1.246 MB / 362.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/0.1721, allocations: 310.8 kB / 362.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.1726, allocations: 253 kB / 362.9 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007947/0.1805, allocations: 7.782 MB / 370.7 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005493/0.1811, allocations: 231.1 kB / 370.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.565e-06/0.1811, allocations: 0 / 370.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001253/0.1824, allocations: 0.5391 MB / 371.5 MB, free: 8.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1824, allocations: 59.41 kB / 371.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1835, allocations: 0.8788 MB / 372.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1835, allocations: 29.7 kB / 372.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.1839, allocations: 468.3 kB / 372.9 MB, free: 6.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.184, allocations: 55.2 kB / 372.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.184, allocations: 8 kB / 373 MB, free: 6.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1842, allocations: 337.9 kB / 373.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.1845, allocations: 135.9 kB / 373.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.1849, allocations: 285.8 kB / 373.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.1853, allocations: 159.9 kB / 373.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1853, allocations: 0 / 373.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009721/0.1863, allocations: 0.535 MB / 374.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1863, allocations: 8 kB / 374.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.873e-05/0.1864, allocations: 23.98 kB / 374.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1864, allocations: 8 kB / 374.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.1867, allocations: 104.4 kB / 374.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.1868, allocations: 8 kB / 374.5 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.1871, allocations: 71.56 kB / 374.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.1872, allocations: 20 kB / 374.6 MB, free: 4.941 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002802/0.1874, allocations: 221.6 kB / 374.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1876, allocations: 114.6 kB / 375 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1888, allocations: 0.4918 MB / 375.4 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.1888, allocations: 7.984 kB / 375.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1888, allocations: 3.953 kB / 375.5 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1888, allocations: 3.984 kB / 375.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.1894, allocations: 0.5672 MB / 376 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/0.1895, allocations: 16 kB / 376 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.1897, allocations: 59.89 kB / 376.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1897, allocations: 4 kB / 376.1 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.1897, allocations: 15.98 kB / 376.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1897, allocations: 0 / 376.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1898, allocations: 3.984 kB / 376.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/0.1906, allocations: 486.7 kB / 376.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.1909, allocations: 203.6 kB / 376.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.191, allocations: 8 kB / 376.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.1913, allocations: 35.92 kB / 376.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1914, allocations: 39.89 kB / 376.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.1915, allocations: 15.98 kB / 376.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006614/0.1921, allocations: 0.5805 MB / 377.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1921, allocations: 0 / 377.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006593/0.1928, allocations: 227.8 kB / 377.7 MB, free: 1.738 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00067/0.1935, allocations: 460.2 kB / 378.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000883/0.1944, allocations: 386.4 kB / 378.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1944, allocations: 0 / 378.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.1948, allocations: 209.1 kB / 378.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.1954, allocations: 148.4 kB / 378.9 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1952/0.3906, allocations: 1.704 MB / 380.6 MB, free: 54.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.3911, allocations: 0.9581 MB / 381.5 MB, free: 54.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.3913, allocations: 52.77 kB / 381.6 MB, free: 54.02 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3913, allocations: 0 / 381.6 MB, free: 54.02 MB / 318.1 MB Notification: Performance of Templates: time 0.02367/0.415, allocations: 12.26 MB / 393.8 MB, free: 49.85 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.Spice3BenchmarkMosfetCharacterizationCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterizationCalcHelperMain.o] Error 1