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.001488/0.001487, allocations: 107.1 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 211.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2294, allocations: 50.53 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005646/0.2351, allocations: 5.558 MB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01846/0.2536, allocations: 19.45 MB / 434.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007212/0.2543, allocations: 27.81 kB / 435 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.2564, allocations: 0.8378 MB / 435.8 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004203/0.2606, allocations: 1.593 MB / 437.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.2638, allocations: 1.311 MB / 438.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002436/0.2663, allocations: 1.808 MB / 440.5 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.2665, allocations: 169.2 kB / 440.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.2669, allocations: 358.4 kB / 441 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.2673, allocations: 365.8 kB / 441.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.2674, allocations: 32 kB / 441.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.2702, allocations: 1.436 MB / 442.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.2703, allocations: 119.2 kB / 443 MB, free: 460 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.2707, allocations: 437.3 kB / 443.4 MB, free: 20 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.2727, allocations: 1.608 MB / 445 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2727, allocations: 0 / 445 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2728, allocations: 0 / 445 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.2728, allocations: 0 / 445 MB, free: 14.41 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.001952/0.2747, allocations: 1.386 MB / 446.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2748, allocations: 8.031 kB / 446.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.2749, allocations: 118.5 kB / 446.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/0.2758, allocations: 0.786 MB / 447.3 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2759, allocations: 16.56 kB / 447.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.2759, allocations: 24 kB / 447.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.2767, allocations: 336.7 kB / 447.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2767, allocations: 0 / 447.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.2767, allocations: 8 kB / 447.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.2768, allocations: 11.94 kB / 447.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008871/0.2777, allocations: 346 kB / 448 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.2794, allocations: 1.23 MB / 449.2 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.2803, allocations: 274.5 kB / 449.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.2808, allocations: 229 kB / 449.7 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007384/0.2882, allocations: 7.921 MB / 457.7 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.2887, allocations: 213.7 kB / 457.9 MB, free: 240 kB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.2887, allocations: 0 / 457.9 MB, free: 240 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001305/0.29, allocations: 472.2 kB / 458.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2901, allocations: 67.39 kB / 458.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008981/0.291, allocations: 0.8901 MB / 459.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.291, allocations: 25.7 kB / 459.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.2914, allocations: 460.3 kB / 459.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.2914, allocations: 71.09 kB / 459.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.2915, allocations: 85.3 kB / 459.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.2916, allocations: 322 kB / 460.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.292, allocations: 123.9 kB / 460.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.2925, allocations: 261.9 kB / 460.6 MB, free: 13.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.2933, allocations: 385.2 kB / 461 MB, free: 12.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2933, allocations: 4 kB / 461 MB, free: 12.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001023/0.2943, allocations: 0.4959 MB / 461.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2943, allocations: 10.81 kB / 461.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.2944, allocations: 23.94 kB / 461.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2944, allocations: 8 kB / 461.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.2948, allocations: 92.38 kB / 461.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.2948, allocations: 11.92 kB / 461.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.2952, allocations: 55.59 kB / 461.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.2952, allocations: 24 kB / 461.7 MB, free: 12.21 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.0002446/0.2954, allocations: 213.6 kB / 461.9 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2956, allocations: 110.7 kB / 462 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.2968, allocations: 477.7 kB / 462.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2968, allocations: 0 / 462.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/0.2968, allocations: 16 kB / 462.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.297, allocations: 199.7 kB / 462.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.2971, allocations: 4 kB / 462.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.2974, allocations: 31.95 kB / 462.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.2975, allocations: 27.97 kB / 462.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001012/0.2985, allocations: 396.7 kB / 463.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000939/0.2995, allocations: 0.5501 MB / 463.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003773/0.2999, allocations: 127.9 kB / 463.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006356/0.3005, allocations: 0.5881 MB / 464.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of Backend: time 3.41e-07/0.3005, allocations: 0 / 464.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.3022, allocations: 0.8235 MB / 465.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of SimCode: time 0.002213/0.3045, allocations: 1.944 MB / 467.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of Templates: time 0.02231/0.3268, allocations: 15.75 MB / 482.9 MB, free: 6.91 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