Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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) 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_4.0.0_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_4.0.0_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.000927/0.0009271, allocations: 92.38 kB / 16.95 MB, free: 5.672 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.001056/0.001057, allocations: 183.8 kB / 17.85 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.2 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 4.625 kB / 301.4 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00578/0.1346, allocations: 4.83 MB / 356.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.29/0.4246, allocations: 17.62 MB / 374.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.4258, allocations: 11.03 kB / 374.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.4286, allocations: 0.7245 MB / 375.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006546/0.4352, allocations: 1.229 MB / 376.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006292/0.4415, allocations: 1.015 MB / 377.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004435/0.4459, allocations: 1.673 MB / 379 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.4463, allocations: 148 kB / 379.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006898/0.447, allocations: 306.5 kB / 379.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.4476, allocations: 330.9 kB / 379.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.851e-05/0.4476, allocations: 17.88 kB / 379.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005849/0.4535, allocations: 1.299 MB / 381.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.4537, allocations: 98 kB / 381.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.454, allocations: 205.8 kB / 381.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.4561, allocations: 1.12 MB / 382.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4561, allocations: 1.031 kB / 382.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.4562, allocations: 0.5156 kB / 382.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4562, allocations: 2.188 kB / 382.5 MB, free: 7.742 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.002297/0.4585, allocations: 1.266 MB / 383.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4585, allocations: 9.281 kB / 383.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.4587, allocations: 115.7 kB / 383.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.4599, allocations: 0.7414 MB / 384.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.4599, allocations: 23.48 kB / 384.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.46, allocations: 22.44 kB / 384.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/0.4608, allocations: 359.2 kB / 385 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4608, allocations: 0 / 385 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.4609, allocations: 7.75 kB / 385 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4609, allocations: 7.422 kB / 385 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000997/0.4619, allocations: 387.6 kB / 385.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.4641, allocations: 1.25 MB / 386.6 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.465, allocations: 309.7 kB / 386.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.4656, allocations: 259.8 kB / 387.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008641/0.4743, allocations: 7.76 MB / 395 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005194/0.4748, allocations: 226.9 kB / 395.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.385e-06/0.4749, allocations: 0 / 395.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001456/0.4763, allocations: 0.5417 MB / 395.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.4764, allocations: 62.3 kB / 395.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.4776, allocations: 0.8746 MB / 396.7 MB, free: 15.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.4777, allocations: 30.33 kB / 396.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.478, allocations: 459.3 kB / 397.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.4781, allocations: 62.55 kB / 397.2 MB, free: 15.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.4781, allocations: 7.375 kB / 397.2 MB, free: 15.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4783, allocations: 323.6 kB / 397.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.4787, allocations: 138.6 kB / 397.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.4792, allocations: 282.3 kB / 397.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.4796, allocations: 164.5 kB / 398.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4796, allocations: 0.9062 kB / 398.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001106/0.4807, allocations: 0.5421 MB / 398.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4807, allocations: 9.281 kB / 398.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.426e-05/0.4808, allocations: 20.62 kB / 398.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.4808, allocations: 8.25 kB / 398.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.4812, allocations: 97.88 kB / 398.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.4812, allocations: 9.531 kB / 398.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.4816, allocations: 74.58 kB / 398.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.4817, allocations: 19.41 kB / 398.9 MB, free: 14.23 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.0003077/0.482, allocations: 216.3 kB / 399.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4821, allocations: 112.4 kB / 399.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.4834, allocations: 0.4964 MB / 399.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4834, allocations: 2.594 kB / 399.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4834, allocations: 0 / 399.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4834, allocations: 3.953 kB / 399.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.4841, allocations: 0.5656 MB / 400.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.4841, allocations: 18.09 kB / 400.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.4844, allocations: 57.45 kB / 400.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4844, allocations: 2.031 kB / 400.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.4844, allocations: 12.55 kB / 400.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4844, allocations: 2.312 kB / 400.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4844, allocations: 0 / 400.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.4854, allocations: 492.7 kB / 400.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.4856, allocations: 200.9 kB / 401 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.831e-05/0.4857, allocations: 8.125 kB / 401 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.486, allocations: 40.17 kB / 401.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.4861, allocations: 29.33 kB / 401.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.4862, allocations: 22.48 kB / 401.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007316/0.4869, allocations: 0.5795 MB / 401.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4869, allocations: 0 / 401.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008733/0.4878, allocations: 224.5 kB / 401.9 MB, free: 12.88 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.0007508/0.4886, allocations: 468.7 kB / 402.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008653/0.4894, allocations: 387.7 kB / 402.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4894, allocations: 0 / 402.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.4899, allocations: 201.6 kB / 403 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007492/0.4906, allocations: 176.6 kB / 403.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4931, allocations: 1.699 MB / 404.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.4937, allocations: 0.9566 MB / 405.8 MB, free: 9.887 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.4938, allocations: 47.44 kB / 405.8 MB, free: 9.84 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4938, allocations: 4 kB / 405.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of Templates: time 0.01756/0.5114, allocations: 12.2 MB / 418 MB, free: 13.85 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterizationCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterizationCalcHelperMain.o] Error 1