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.00133/0.001329, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001518/0.001518, allocations: 194 kB / 18.72 MB, free: 4.762 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.196/2.196, allocations: 205.1 MB / 224.6 MB, free: 12.4 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.001775/0.001775, allocations: 47.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.175, allocations: 46.64 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.01094/0.186, allocations: 5.403 MB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02859/0.2147, allocations: 18.65 MB / 351.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.2168, allocations: 8 kB / 351.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003666/0.2205, allocations: 0.7491 MB / 352.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009267/0.2298, allocations: 1.271 MB / 353.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00785/0.2377, allocations: 1.051 MB / 354.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005432/0.2432, allocations: 1.722 MB / 356.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.2437, allocations: 165.7 kB / 356.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007269/0.2444, allocations: 306.5 kB / 356.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.245, allocations: 345.9 kB / 356.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.893e-05/0.2451, allocations: 24 kB / 356.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/0.2513, allocations: 1.109 MB / 358 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.2515, allocations: 99.31 kB / 358.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008369/0.2524, allocations: 433.2 kB / 358.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.2549, allocations: 1.149 MB / 359.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.255, allocations: 4 kB / 359.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.255, allocations: 0 / 359.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.782e-05/0.2551, allocations: 0 / 359.7 MB, free: 4.293 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.003872/0.259, allocations: 1.378 MB / 361.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.601e-05/0.259, allocations: 12.03 kB / 361.1 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.2593, allocations: 118.6 kB / 361.2 MB, free: 2.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.2608, allocations: 0.786 MB / 362 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.2608, allocations: 16.56 kB / 362 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.2609, allocations: 31.92 kB / 362 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.262, allocations: 336.7 kB / 362.4 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.262, allocations: 0 / 362.4 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.262, allocations: 8 kB / 362.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.2621, allocations: 4 kB / 362.4 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2631, allocations: 350 kB / 362.7 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/0.2658, allocations: 1.238 MB / 364 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000973/0.2668, allocations: 266.6 kB / 364.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006703/0.2675, allocations: 229 kB / 364.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.2792, allocations: 7.786 MB / 372.2 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/0.2799, allocations: 207 kB / 372.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 3.236e-06/0.2799, allocations: 3.938 kB / 372.4 MB, free: 6.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001578/0.2815, allocations: 488.2 kB / 372.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.2816, allocations: 59.39 kB / 373 MB, free: 5.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.2831, allocations: 0.8828 MB / 373.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.2831, allocations: 33.7 kB / 373.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.2836, allocations: 468.3 kB / 374.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.2837, allocations: 63.19 kB / 374.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.2839, allocations: 85.5 kB / 374.5 MB, free: 4.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2841, allocations: 322 kB / 374.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.2845, allocations: 123.9 kB / 374.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.2851, allocations: 261.8 kB / 375.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/0.286, allocations: 393.6 kB / 375.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.286, allocations: 4 kB / 375.6 MB, free: 2.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001274/0.2873, allocations: 0.4886 MB / 376.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.2874, allocations: 15.06 kB / 376.1 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.208e-05/0.2874, allocations: 27.94 kB / 376.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.153e-05/0.2875, allocations: 8 kB / 376.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.2879, allocations: 83.86 kB / 376.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.2879, allocations: 11.88 kB / 376.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.2884, allocations: 59.81 kB / 376.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/0.2885, allocations: 24 kB / 376.3 MB, free: 2.25 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.0003935/0.2889, allocations: 201.7 kB / 376.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.2891, allocations: 122.5 kB / 376.6 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.2905, allocations: 479.4 kB / 377.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.2905, allocations: 0 / 377.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2905, allocations: 0 / 377.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.2906, allocations: 8 kB / 377.1 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.2914, allocations: 0.5634 MB / 377.6 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/0.2915, allocations: 16 kB / 377.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.2917, allocations: 47.89 kB / 377.7 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/0.2917, allocations: 11.92 kB / 377.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.2918, allocations: 8 kB / 377.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2918, allocations: 4.062 kB / 377.7 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2918, allocations: 0 / 377.7 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2928, allocations: 446.6 kB / 378.2 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.2932, allocations: 199.7 kB / 378.4 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.2934, allocations: 8 kB / 378.4 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.2937, allocations: 27.89 kB / 378.4 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3098/0.6035, allocations: 30.36 kB / 378.4 MB, free: 56.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.6038, allocations: 15.88 kB / 378.4 MB, free: 56.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001299/0.6051, allocations: 0.5961 MB / 379 MB, free: 56.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6051, allocations: 1.375 kB / 379 MB, free: 56.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001344/0.6064, allocations: 221 kB / 379.3 MB, free: 56.56 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.001001/0.6074, allocations: 480.6 kB / 379.7 MB, free: 56.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.6088, allocations: 353.7 kB / 380.1 MB, free: 56.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6088, allocations: 0 / 380.1 MB, free: 56.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.6095, allocations: 177.2 kB / 380.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000899/0.6104, allocations: 144 kB / 380.4 MB, free: 56.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.6135, allocations: 1.749 MB / 382.1 MB, free: 55.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.6141, allocations: 0.9539 MB / 383.1 MB, free: 54.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.6142, allocations: 49.91 kB / 383.1 MB, free: 54.81 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6142, allocations: 0 / 383.1 MB, free: 54.81 MB / 318.1 MB Notification: Performance of Templates: time 0.03399/0.6483, allocations: 12.4 MB / 395.5 MB, free: 50.23 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