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.001035/0.001035, allocations: 115.9 kB / 17.7 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.0009407/0.0009407, allocations: 191 kB / 18.63 MB, free: 4.379 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.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 43.52 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1159, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006477/0.1224, allocations: 5.543 MB / 357.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2172/0.3396, allocations: 19.4 MB / 376.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.3406, allocations: 26.12 kB / 376.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.3433, allocations: 0.8134 MB / 377.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007452/0.3508, allocations: 1.599 MB / 378.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006116/0.3569, allocations: 1.302 MB / 380.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003946/0.3609, allocations: 1.794 MB / 382 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.3613, allocations: 174.5 kB / 382.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006602/0.3619, allocations: 352.9 kB / 382.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.3624, allocations: 365.1 kB / 382.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.3625, allocations: 32.94 kB / 382.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/0.3676, allocations: 1.43 MB / 384.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.3679, allocations: 116 kB / 384.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.3685, allocations: 432.1 kB / 384.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.372, allocations: 1.61 MB / 386.5 MB, free: 8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3721, allocations: 0 / 386.5 MB, free: 8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3721, allocations: 0 / 386.5 MB, free: 8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3721, allocations: 1.125 kB / 386.5 MB, free: 8 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.002057/0.3741, allocations: 1.375 MB / 387.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.3742, allocations: 13.67 kB / 387.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3743, allocations: 116.4 kB / 388 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.3753, allocations: 0.7836 MB / 388.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3754, allocations: 18.03 kB / 388.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.3754, allocations: 29.27 kB / 388.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.3761, allocations: 336.5 kB / 389.1 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3762, allocations: 0 / 389.1 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.3762, allocations: 9.609 kB / 389.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3762, allocations: 11.7 kB / 389.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008161/0.377, allocations: 346.2 kB / 389.5 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.379, allocations: 1.241 MB / 390.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/0.3799, allocations: 263.5 kB / 391 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.3804, allocations: 231.2 kB / 391.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00907/0.3895, allocations: 7.755 MB / 399 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/0.3901, allocations: 210 kB / 399.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.3901, allocations: 0 / 399.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001408/0.3915, allocations: 485.9 kB / 399.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.3916, allocations: 65.98 kB / 399.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.3929, allocations: 0.8829 MB / 400.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.3929, allocations: 25.7 kB / 400.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.3934, allocations: 460.6 kB / 401.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.3935, allocations: 71.61 kB / 401.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.3936, allocations: 85.44 kB / 401.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3938, allocations: 318.9 kB / 401.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.3941, allocations: 122 kB / 401.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.3946, allocations: 266.2 kB / 401.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.3953, allocations: 389 kB / 402.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.3954, allocations: 2.156 kB / 402.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00101/0.3964, allocations: 0.5002 MB / 402.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3964, allocations: 6.938 kB / 402.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/0.3964, allocations: 21.03 kB / 402.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.3965, allocations: 6.344 kB / 402.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.3968, allocations: 91.73 kB / 402.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.3968, allocations: 11.75 kB / 402.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.3973, allocations: 51.47 kB / 403 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.3974, allocations: 23.44 kB / 403 MB, free: 11.74 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.0002614/0.3977, allocations: 215.3 kB / 403.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3978, allocations: 106.7 kB / 403.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3989, allocations: 476.1 kB / 403.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3989, allocations: 3.938 kB / 403.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3989, allocations: 2.906 kB / 403.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.399, allocations: 3.938 kB / 403.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.3996, allocations: 0.5714 MB / 404.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/0.3996, allocations: 17.94 kB / 404.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.3998, allocations: 47.27 kB / 404.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3999, allocations: 2.5 kB / 404.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.3999, allocations: 7.594 kB / 404.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3999, allocations: 0 / 404.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3999, allocations: 6.422 kB / 404.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.4007, allocations: 443.5 kB / 404.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.401, allocations: 202.7 kB / 405.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/0.4012, allocations: 8 kB / 405.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.4015, allocations: 35.89 kB / 405.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.4016, allocations: 27.97 kB / 405.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.4016, allocations: 12 kB / 405.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006206/0.4022, allocations: 0.592 MB / 405.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4022, allocations: 0 / 405.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007143/0.4029, allocations: 219.8 kB / 406 MB, free: 9.41 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.0006699/0.4036, allocations: 484.8 kB / 406.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008391/0.4045, allocations: 350.4 kB / 406.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4045, allocations: 4.125 kB / 406.8 MB, free: 8.664 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004047/0.4049, allocations: 177.5 kB / 407 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007274/0.4056, allocations: 164 kB / 407.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.4077, allocations: 1.441 MB / 408.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.4082, allocations: 0.9602 MB / 409.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000249/0.4085, allocations: 106 kB / 409.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.4086, allocations: 51.44 kB / 409.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4086, allocations: 0 / 409.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of Templates: time 0.02185/0.4304, allocations: 12.75 MB / 422.4 MB, free: 9.074 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 cvode -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