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.0008999/0.0009002, allocations: 102.1 kB / 17.96 MB, free: 5.328 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.001203/0.001203, allocations: 179.2 kB / 18.86 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.4 MB / 225 MB, free: 12.93 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.0005718/0.0005718, allocations: 12.38 kB / 282 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1612, allocations: 47.59 MB / 329.6 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007264/0.1685, allocations: 5.002 MB / 334.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02636/0.1949, allocations: 18.36 MB / 353 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.1966, allocations: 7.938 kB / 353 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.2, allocations: 0.7579 MB / 353.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007607/0.2076, allocations: 1.286 MB / 355 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007357/0.215, allocations: 1.039 MB / 356.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004376/0.2194, allocations: 1.726 MB / 357.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.2198, allocations: 165.7 kB / 358 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.2203, allocations: 298.5 kB / 358.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004572/0.2207, allocations: 337.9 kB / 358.6 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.2208, allocations: 20 kB / 358.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.2252, allocations: 1.105 MB / 359.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.2254, allocations: 103.2 kB / 359.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.2259, allocations: 447 kB / 360.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.2275, allocations: 1.126 MB / 361.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2275, allocations: 0 / 361.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.2275, allocations: 0 / 361.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2276, allocations: 0 / 361.4 MB, free: 3.832 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.002466/0.23, allocations: 1.262 MB / 362.6 MB, free: 2.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.2301, allocations: 8.031 kB / 362.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.2303, allocations: 118.6 kB / 362.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.2315, allocations: 0.7822 MB / 363.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.2315, allocations: 12.56 kB / 363.5 MB, free: 1.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-05/0.2316, allocations: 31.92 kB / 363.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/0.2325, allocations: 368.7 kB / 363.9 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2326, allocations: 0 / 363.9 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.2326, allocations: 7.938 kB / 363.9 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.2326, allocations: 8 kB / 364 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.2337, allocations: 390 kB / 364.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.2359, allocations: 1.249 MB / 365.6 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009621/0.2369, allocations: 306.6 kB / 365.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.2375, allocations: 252.4 kB / 366.1 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009601/0.2471, allocations: 7.794 MB / 373.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/0.2477, allocations: 227.1 kB / 374.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.856e-06/0.2477, allocations: 0 / 374.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001577/0.2493, allocations: 0.547 MB / 374.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.2494, allocations: 59.34 kB / 374.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.2506, allocations: 0.8829 MB / 375.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.2507, allocations: 29.7 kB / 375.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/0.2512, allocations: 468.2 kB / 376.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/0.2513, allocations: 59.28 kB / 376.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.2514, allocations: 37.7 kB / 376.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2516, allocations: 318 kB / 376.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.2521, allocations: 147.8 kB / 376.7 MB, free: 3.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.2527, allocations: 277.9 kB / 376.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.2537, allocations: 441.4 kB / 377.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2537, allocations: 0 / 377.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001269/0.255, allocations: 0.535 MB / 377.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.255, allocations: 11.94 kB / 377.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.28e-05/0.2551, allocations: 20 kB / 377.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.2551, allocations: 8.562 kB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.2555, allocations: 99.81 kB / 378 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/0.2555, allocations: 8 kB / 378.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.256, allocations: 75.58 kB / 378.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.256, allocations: 20 kB / 378.1 MB, free: 1.594 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 (VDS.counter,$PRE.VDS.counter,VGS.counter,$PRE.VGS.counter,VGS.counter2,$PRE.VGS.counter2,VGS.T0,$PRE.VGS.T0,VDS.counter2,$PRE.VDS.counter2,VDS.T0,$PRE.VDS.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003137/0.2564, allocations: 205.7 kB / 378.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.2565, allocations: 114.6 kB / 378.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.2581, allocations: 0.515 MB / 379 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.2581, allocations: 0 / 379 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.2581, allocations: 0 / 379 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2581, allocations: 0 / 379 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008413/0.259, allocations: 0.5672 MB / 379.5 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.373e-05/0.259, allocations: 20 kB / 379.6 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.2593, allocations: 60 kB / 379.6 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.2593, allocations: 3.938 kB / 379.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.2593, allocations: 12 kB / 379.6 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2594, allocations: 0 / 379.6 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.2594, allocations: 7.938 kB / 379.6 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3148/0.5742, allocations: 482.1 kB / 380.1 MB, free: 56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.5748, allocations: 202.6 kB / 380.3 MB, free: 55.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.5749, allocations: 6.859 kB / 380.3 MB, free: 55.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.5752, allocations: 37.09 kB / 380.4 MB, free: 55.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.5754, allocations: 41.92 kB / 380.4 MB, free: 55.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.5755, allocations: 13.98 kB / 380.4 MB, free: 55.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001382/0.5768, allocations: 0.5924 MB / 381 MB, free: 55.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5769, allocations: 0 / 381 MB, free: 55.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001213/0.5781, allocations: 221.7 kB / 381.2 MB, free: 55.78 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/0.5796, allocations: 485.3 kB / 381.7 MB, free: 55.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.5813, allocations: 396.3 kB / 382.1 MB, free: 55.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5813, allocations: 1.25 kB / 382.1 MB, free: 55.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006921/0.582, allocations: 202.2 kB / 382.3 MB, free: 55.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009599/0.583, allocations: 133.7 kB / 382.4 MB, free: 55.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.5873, allocations: 1.81 MB / 384.2 MB, free: 54.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009928/0.5883, allocations: 0.9598 MB / 385.2 MB, free: 54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.5885, allocations: 49.73 kB / 385.2 MB, free: 54 MB / 318.1 MB Notification: Performance of SimCode: time 1.723e-06/0.5885, allocations: 0.75 kB / 385.2 MB, free: 54 MB / 318.1 MB Notification: Performance of Templates: time 0.03935/0.6279, allocations: 12.25 MB / 397.5 MB, free: 48.78 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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