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.001088/0.001088, allocations: 114.2 kB / 17.69 MB, free: 5.309 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.001168/0.001168, allocations: 191 kB / 18.63 MB, free: 4.375 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.298/1.298, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009389/0.000939, allocations: 47.14 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08561, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005899/0.09155, allocations: 5.532 MB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1801/0.2717, allocations: 19.41 MB / 376.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007016/0.2724, allocations: 27.97 kB / 376.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.2746, allocations: 0.8151 MB / 377.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.2787, allocations: 1.6 MB / 378.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.2826, allocations: 1.299 MB / 380.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002647/0.2853, allocations: 1.794 MB / 382 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.2856, allocations: 172.6 kB / 382.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.2861, allocations: 350 kB / 382.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.2865, allocations: 375.8 kB / 382.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.2866, allocations: 33.03 kB / 382.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.2901, allocations: 1.427 MB / 384.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.2902, allocations: 118.5 kB / 384.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.2906, allocations: 426.4 kB / 384.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.2928, allocations: 1.61 MB / 386.5 MB, free: 8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2928, allocations: 0 / 386.5 MB, free: 8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2928, allocations: 4 kB / 386.5 MB, free: 7.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2928, allocations: 0 / 386.5 MB, free: 7.996 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.002001/0.2948, allocations: 1.376 MB / 387.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2949, allocations: 13.39 kB / 387.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.295, allocations: 116.2 kB / 388 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009213/0.2959, allocations: 0.7785 MB / 388.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.296, allocations: 20.22 kB / 388.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.296, allocations: 27.16 kB / 388.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.2967, allocations: 340.7 kB / 389.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2967, allocations: 0 / 389.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.2968, allocations: 11.34 kB / 389.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.2968, allocations: 11.34 kB / 389.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.2976, allocations: 342.2 kB / 389.5 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.2993, allocations: 1.244 MB / 390.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.3001, allocations: 271.2 kB / 391 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.3006, allocations: 233.1 kB / 391.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006638/0.3072, allocations: 7.749 MB / 399 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/0.3077, allocations: 210.9 kB / 399.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.043e-06/0.3077, allocations: 0 / 399.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001261/0.309, allocations: 491.6 kB / 399.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3091, allocations: 53.81 kB / 399.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009078/0.31, allocations: 0.8833 MB / 400.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.31, allocations: 33.7 kB / 400.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.3104, allocations: 469 kB / 401.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.3104, allocations: 58.42 kB / 401.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3106, allocations: 82.5 kB / 401.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3107, allocations: 322.6 kB / 401.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.311, allocations: 114.3 kB / 401.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.3115, allocations: 275 kB / 401.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.3125, allocations: 385.5 kB / 402.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.3125, allocations: 0 / 402.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000942/0.3134, allocations: 0.5067 MB / 402.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3135, allocations: 7.219 kB / 402.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.3135, allocations: 19.19 kB / 402.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3135, allocations: 7.031 kB / 402.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.3139, allocations: 92.39 kB / 402.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3139, allocations: 7.719 kB / 402.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.3143, allocations: 52.59 kB / 403 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.3143, allocations: 23.84 kB / 403 MB, free: 11.73 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.0002422/0.3146, allocations: 217.3 kB / 403.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3147, allocations: 108 kB / 403.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.3158, allocations: 466.9 kB / 403.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3158, allocations: 4 kB / 403.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3158, allocations: 2.312 kB / 403.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3158, allocations: 11.86 kB / 403.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.3163, allocations: 0.5708 MB / 404.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/0.3164, allocations: 18.97 kB / 404.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.3166, allocations: 44.42 kB / 404.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3166, allocations: 6.656 kB / 404.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.3167, allocations: 10.59 kB / 404.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3167, allocations: 2.438 kB / 404.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3167, allocations: 0 / 404.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.3175, allocations: 438.9 kB / 404.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.3178, allocations: 199.8 kB / 405.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3179, allocations: 8 kB / 405.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.3182, allocations: 31.89 kB / 405.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.3183, allocations: 35.91 kB / 405.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.3184, allocations: 19.98 kB / 405.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006388/0.319, allocations: 0.5842 MB / 405.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.319, allocations: 0 / 405.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000643/0.3197, allocations: 219.8 kB / 406 MB, free: 9.402 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.000611/0.3203, allocations: 489.1 kB / 406.4 MB, free: 9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008577/0.3212, allocations: 345.2 kB / 406.8 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3212, allocations: 1.25 kB / 406.8 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.3216, allocations: 180.5 kB / 407 MB, free: 8.477 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/0.3223, allocations: 174.1 kB / 407.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.3244, allocations: 1.439 MB / 408.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.3249, allocations: 0.9602 MB / 409.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.3252, allocations: 102 kB / 409.6 MB, free: 5.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.3253, allocations: 55.42 kB / 409.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3253, allocations: 0 / 409.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of Templates: time 0.01932/0.3446, allocations: 12.76 MB / 422.4 MB, free: 9.055 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches