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.0008769/0.000877, allocations: 92.59 kB / 16.3 MB, free: 5.996 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.0009375/0.0009376, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.321/1.321, allocations: 223.2 MB / 241.1 MB, free: 368 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002606, allocations: 4 kB / 300.7 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.08857, allocations: 50.42 MB / 351.1 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004474/0.09311, allocations: 4.476 MB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1759/0.2691, allocations: 16.41 MB / 372 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006189/0.2697, allocations: 9.969 kB / 372 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.2718, allocations: 0.7553 MB / 372.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.2758, allocations: 1.352 MB / 374.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.2797, allocations: 1.093 MB / 375.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.2826, allocations: 1.666 MB / 376.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.2829, allocations: 149.1 kB / 377 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.2832, allocations: 300.6 kB / 377.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.2836, allocations: 334.6 kB / 377.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.612e-05/0.2837, allocations: 23.25 kB / 377.7 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.2875, allocations: 1.401 MB / 379.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.2877, allocations: 99.42 kB / 379.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.288, allocations: 203.4 kB / 379.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.2895, allocations: 1.066 MB / 380.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2895, allocations: 0 / 380.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2895, allocations: 3.094 kB / 380.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.2895, allocations: 0 / 380.5 MB, free: 8.488 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.002054/0.2916, allocations: 1.265 MB / 381.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2916, allocations: 14.06 kB / 381.7 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.2918, allocations: 114.4 kB / 381.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.2931, allocations: 0.7351 MB / 382.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.2932, allocations: 21.42 kB / 382.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.2933, allocations: 24.84 kB / 382.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.2942, allocations: 355.5 kB / 383 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2942, allocations: 3.531 kB / 383 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.2942, allocations: 7.812 kB / 383 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.2943, allocations: 11.23 kB / 383 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009774/0.2953, allocations: 390.5 kB / 383.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.2973, allocations: 1.239 MB / 384.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.2982, allocations: 315.8 kB / 384.9 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007/0.3053, allocations: 7.786 MB / 392.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/0.3058, allocations: 230.9 kB / 392.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.895e-06/0.3058, allocations: 2.516 kB / 392.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001306/0.3071, allocations: 0.6258 MB / 393.6 MB, free: 468 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.3072, allocations: 57.22 kB / 393.6 MB, free: 404 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/0.308, allocations: 0.8757 MB / 394.5 MB, free: 100 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3081, allocations: 30.89 kB / 394.5 MB, free: 68 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.3084, allocations: 461.7 kB / 395 MB, free: 15.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.3084, allocations: 59.2 kB / 395 MB, free: 15.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.3085, allocations: 7.344 kB / 395 MB, free: 15.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3086, allocations: 320.1 kB / 395.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.309, allocations: 142.4 kB / 395.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.3095, allocations: 278.4 kB / 395.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.3099, allocations: 171.5 kB / 395.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3099, allocations: 1.375 kB / 395.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001055/0.311, allocations: 0.5397 MB / 396.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.311, allocations: 7.438 kB / 396.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/0.311, allocations: 24.56 kB / 396.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3111, allocations: 6.656 kB / 396.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3114, allocations: 97.8 kB / 396.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.3114, allocations: 14.09 kB / 396.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.3119, allocations: 64.06 kB / 396.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.3119, allocations: 21.69 kB / 396.7 MB, free: 15.07 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.0002593/0.3122, allocations: 216.8 kB / 396.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3123, allocations: 112 kB / 397 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.3137, allocations: 0.4939 MB / 397.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3137, allocations: 2.562 kB / 397.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3137, allocations: 10.55 kB / 397.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3137, allocations: 0 / 397.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.3143, allocations: 0.5787 MB / 398.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.3143, allocations: 17.28 kB / 398.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.3146, allocations: 51.58 kB / 398.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3146, allocations: 0 / 398.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.3146, allocations: 19.64 kB / 398.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3146, allocations: 0 / 398.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3146, allocations: 7.125 kB / 398.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000938/0.3156, allocations: 0.4996 MB / 398.7 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.3158, allocations: 200.2 kB / 398.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3159, allocations: 6.125 kB / 398.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.3162, allocations: 42.73 kB / 398.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.3163, allocations: 28.34 kB / 399 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.3164, allocations: 18.92 kB / 399 MB, free: 13.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005644/0.3169, allocations: 0.5793 MB / 399.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3169, allocations: 0 / 399.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006154/0.3176, allocations: 220.8 kB / 399.8 MB, free: 13.69 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.0005906/0.3182, allocations: 463.2 kB / 400.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000915/0.3191, allocations: 390.9 kB / 400.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3191, allocations: 0 / 400.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.3196, allocations: 202 kB / 400.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.3202, allocations: 166.7 kB / 401 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3224, allocations: 1.665 MB / 402.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.3229, allocations: 0.9722 MB / 403.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.3232, allocations: 102 kB / 403.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.3233, allocations: 51.38 kB / 403.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3233, allocations: 0 / 403.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of Templates: time 0.01826/0.3416, allocations: 11.64 MB / 415.4 MB, free: 15.5 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches