Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008467/0.000847, allocations: 95.27 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009123/0.0009122, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.688/1.688, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002704, allocations: 4 kB / 307.3 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1236, allocations: 51.48 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004943/0.1286, allocations: 4.855 MB / 363.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2855/0.4142, allocations: 17.65 MB / 381.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009276/0.4152, allocations: 10.22 kB / 381.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.4176, allocations: 0.7325 MB / 382 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006253/0.4239, allocations: 1.231 MB / 383.3 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007238/0.4312, allocations: 1.014 MB / 384.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00552/0.4367, allocations: 1.69 MB / 386 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.4373, allocations: 155 kB / 386.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008316/0.4381, allocations: 301 kB / 386.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.4387, allocations: 333.1 kB / 386.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.4388, allocations: 17.25 kB / 386.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007678/0.4464, allocations: 1.317 MB / 388.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.4468, allocations: 94.72 kB / 388.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006607/0.4475, allocations: 206.2 kB / 388.4 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.4502, allocations: 1.118 MB / 389.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4502, allocations: 0 / 389.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4502, allocations: 0 / 389.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.4502, allocations: 1.844 kB / 389.5 MB, free: 6.957 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.00262/0.4529, allocations: 1.265 MB / 390.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4529, allocations: 13.44 kB / 390.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.4531, allocations: 116.7 kB / 390.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.4542, allocations: 0.7432 MB / 391.6 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.4542, allocations: 16.81 kB / 391.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.4543, allocations: 20.59 kB / 391.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/0.4552, allocations: 361.5 kB / 392 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4553, allocations: 1.203 kB / 392 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.4553, allocations: 10.14 kB / 392 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.4554, allocations: 6.188 kB / 392 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.4567, allocations: 388.8 kB / 392.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.4595, allocations: 1.246 MB / 393.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.4606, allocations: 301.3 kB / 393.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.4614, allocations: 259.5 kB / 394.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.4726, allocations: 7.922 MB / 402.1 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008184/0.4734, allocations: 221.2 kB / 402.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.956e-06/0.4734, allocations: 0 / 402.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.002133/0.4756, allocations: 0.5481 MB / 402.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.4757, allocations: 58.16 kB / 402.9 MB, free: 13.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.4773, allocations: 0.8702 MB / 403.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.4773, allocations: 31.64 kB / 403.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/0.4779, allocations: 475.9 kB / 404.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.478, allocations: 59.16 kB / 404.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.4781, allocations: 4 kB / 404.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4783, allocations: 321 kB / 404.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.4788, allocations: 140.7 kB / 404.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.4795, allocations: 280.8 kB / 405.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.4801, allocations: 169.3 kB / 405.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4801, allocations: 3.938 kB / 405.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001514/0.4817, allocations: 0.535 MB / 405.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.4817, allocations: 11.8 kB / 405.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-05/0.4818, allocations: 24.06 kB / 405.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.4818, allocations: 8 kB / 405.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.4823, allocations: 94.28 kB / 405.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.4823, allocations: 12.61 kB / 405.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.4831, allocations: 67.06 kB / 406 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.4832, allocations: 31.81 kB / 406 MB, free: 11.21 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.0004794/0.4837, allocations: 204.3 kB / 406.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4839, allocations: 107.2 kB / 406.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.4855, allocations: 0.5038 MB / 406.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.4855, allocations: 5.578 kB / 406.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4855, allocations: 1.625 kB / 406.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4855, allocations: 0 / 406.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/0.4864, allocations: 0.5663 MB / 407.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/0.4865, allocations: 15.75 kB / 407.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.4867, allocations: 61.89 kB / 407.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.4867, allocations: 6.859 kB / 407.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.4868, allocations: 13.7 kB / 407.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4868, allocations: 2.875 kB / 407.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4868, allocations: 0 / 407.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.4878, allocations: 489.8 kB / 408 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.4883, allocations: 199.6 kB / 408.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.4885, allocations: 11.98 kB / 408.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.4889, allocations: 35.97 kB / 408.2 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.489, allocations: 31.95 kB / 408.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.489, allocations: 16 kB / 408.3 MB, free: 9.609 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008147/0.4899, allocations: 0.5803 MB / 408.9 MB, free: 9.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4899, allocations: 0 / 408.9 MB, free: 9.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008985/0.4908, allocations: 219.8 kB / 409.1 MB, free: 8.809 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.001012/0.4918, allocations: 473.7 kB / 409.5 MB, free: 8.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009872/0.4928, allocations: 393.4 kB / 409.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4928, allocations: 0 / 409.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.4933, allocations: 201.8 kB / 410.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.4942, allocations: 167.8 kB / 410.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.4971, allocations: 1.699 MB / 412 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.4978, allocations: 0.9605 MB / 412.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.498, allocations: 47.44 kB / 413 MB, free: 4.816 MB / 318.1 MB Notification: Performance of SimCode: time 5.82e-07/0.498, allocations: 0 / 413 MB, free: 4.816 MB / 318.1 MB Notification: Performance of Templates: time 0.02357/0.5216, allocations: 12.25 MB / 425.2 MB, free: 8.613 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterizationCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterizationCalcHelperMain.o] Error 1