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.001542/0.001542, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002242/0.002242, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.528/2.528, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.452, allocations: 50.54 MB / 409.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.01256/0.4646, allocations: 5.558 MB / 415.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04263/0.5073, allocations: 19.46 MB / 434.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.5088, allocations: 27.81 kB / 435 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00459/0.5135, allocations: 0.8196 MB / 435.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.524, allocations: 1.584 MB / 437.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008731/0.5328, allocations: 1.303 MB / 438.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005552/0.5384, allocations: 1.812 MB / 440.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006184/0.5391, allocations: 169.2 kB / 440.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009904/0.5401, allocations: 358.4 kB / 441 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009434/0.5411, allocations: 365.8 kB / 441.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.5413, allocations: 32 kB / 441.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008289/0.5496, allocations: 1.444 MB / 442.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.55, allocations: 115.2 kB / 442.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000945/0.5509, allocations: 433.3 kB / 443.4 MB, free: 144 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005856/0.5568, allocations: 1.608 MB / 445 MB, free: 14.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.5569, allocations: 0 / 445 MB, free: 14.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5569, allocations: 4 kB / 445 MB, free: 14.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.039e-05/0.557, allocations: 0 / 445 MB, free: 14.52 MB / 366.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.004465/0.5615, allocations: 1.378 MB / 446.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.5616, allocations: 12.03 kB / 446.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.5619, allocations: 118.5 kB / 446.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.564, allocations: 0.7782 MB / 447.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.5641, allocations: 16.56 kB / 447.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.5642, allocations: 27.98 kB / 447.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.5656, allocations: 332.7 kB / 447.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.5657, allocations: 4 kB / 447.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.5657, allocations: 8 kB / 447.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.5658, allocations: 11.94 kB / 447.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.5675, allocations: 338 kB / 448 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.5716, allocations: 1.245 MB / 449.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.573, allocations: 266.6 kB / 449.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009803/0.574, allocations: 225 kB / 449.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01644/0.5905, allocations: 7.921 MB / 457.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.5916, allocations: 210.3 kB / 457.8 MB, free: 376 kB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 6.453e-06/0.5917, allocations: 0 / 457.8 MB, free: 376 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.002689/0.5944, allocations: 490.5 kB / 458.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.5945, allocations: 55.41 kB / 458.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.5966, allocations: 0.8824 MB / 459.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.5967, allocations: 33.7 kB / 459.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000641/0.5974, allocations: 468.3 kB / 459.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.5975, allocations: 59.2 kB / 459.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.5978, allocations: 93.22 kB / 459.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.598, allocations: 322 kB / 460.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007889/0.5988, allocations: 123.9 kB / 460.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/0.5997, allocations: 257.9 kB / 460.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.6014, allocations: 390 kB / 461 MB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.6014, allocations: 4 kB / 461 MB, free: 13.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002251/0.6037, allocations: 0.4997 MB / 461.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.6038, allocations: 8.625 kB / 461.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.567e-05/0.6038, allocations: 20 kB / 461.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/0.6039, allocations: 11.98 kB / 461.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.6046, allocations: 87.81 kB / 461.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/0.6047, allocations: 8 kB / 461.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008686/0.6056, allocations: 63.53 kB / 461.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.6057, allocations: 20 kB / 461.7 MB, free: 12.34 MB / 382.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.0005246/0.6062, allocations: 221.6 kB / 461.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.6065, allocations: 106.7 kB / 462 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.6089, allocations: 463.5 kB / 462.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.609, allocations: 0 / 462.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.609, allocations: 7.938 kB / 462.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.609, allocations: 11.91 kB / 462.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.6103, allocations: 0.5633 MB / 463 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.412e-05/0.6103, allocations: 16 kB / 463 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.6108, allocations: 43.89 kB / 463.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.6109, allocations: 4 kB / 463.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.6109, allocations: 8 kB / 463.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.611, allocations: 7.984 kB / 463.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.611, allocations: 0 / 463.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.6129, allocations: 444.9 kB / 463.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.6135, allocations: 199.7 kB / 463.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.6137, allocations: 7.984 kB / 463.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.6143, allocations: 27.91 kB / 463.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.6145, allocations: 31.97 kB / 463.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/0.6146, allocations: 15.92 kB / 463.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001428/0.6161, allocations: 0.592 MB / 464.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6161, allocations: 0 / 464.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001231/0.6173, allocations: 223.8 kB / 464.6 MB, free: 9.258 MB / 382.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.001279/0.6186, allocations: 475.3 kB / 465.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.6206, allocations: 354.2 kB / 465.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6206, allocations: 0 / 465.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.6216, allocations: 181.5 kB / 465.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.6232, allocations: 172.6 kB / 465.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.6278, allocations: 1.484 MB / 467.3 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/0.6287, allocations: 0.9563 MB / 468.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.629, allocations: 55.44 kB / 468.3 MB, free: 5.508 MB / 382.1 MB Notification: Performance of SimCode: time 1.352e-06/0.629, allocations: 0 / 468.3 MB, free: 5.508 MB / 382.1 MB Notification: Performance of Templates: time 0.0353/0.6643, allocations: 12.59 MB / 480.9 MB, free: 8.957 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches