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.00153/0.00153, allocations: 116.1 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2354, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005565/0.2409, allocations: 5.569 MB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01874/0.2597, allocations: 19.44 MB / 434.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006581/0.2604, allocations: 23.81 kB / 435 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.2625, allocations: 0.8261 MB / 435.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.2667, allocations: 1.596 MB / 437.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.2702, allocations: 1.307 MB / 438.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.2728, allocations: 1.823 MB / 440.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.2731, allocations: 165.2 kB / 440.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.2736, allocations: 358.4 kB / 441 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.2741, allocations: 369.8 kB / 441.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.691e-05/0.2742, allocations: 32 kB / 441.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.2773, allocations: 1.44 MB / 442.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.2774, allocations: 115.3 kB / 443 MB, free: 428 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.2778, allocations: 429.3 kB / 443.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.2801, allocations: 1.615 MB / 445 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.2801, allocations: 4 kB / 445 MB, free: 14.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2801, allocations: 3.938 kB / 445 MB, free: 14.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.2801, allocations: 0 / 445 MB, free: 14.37 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.001967/0.2821, allocations: 1.42 MB / 446.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2822, allocations: 12.02 kB / 446.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.2823, allocations: 127.1 kB / 446.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009178/0.2832, allocations: 0.7792 MB / 447.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2833, allocations: 24.55 kB / 447.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.2833, allocations: 28 kB / 447.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.284, allocations: 328.7 kB / 447.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2841, allocations: 0 / 447.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.2841, allocations: 15.94 kB / 447.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.2841, allocations: 11.92 kB / 447.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/0.285, allocations: 346 kB / 448.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2867, allocations: 1.238 MB / 449.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007752/0.2875, allocations: 266.6 kB / 449.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/0.288, allocations: 229 kB / 449.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006986/0.295, allocations: 7.914 MB / 457.7 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.2955, allocations: 212.5 kB / 457.9 MB, free: 160 kB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/0.2955, allocations: 0 / 457.9 MB, free: 160 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001286/0.2968, allocations: 496.6 kB / 458.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2969, allocations: 55.41 kB / 458.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.2977, allocations: 0.8902 MB / 459.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2978, allocations: 29.7 kB / 459.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.2981, allocations: 468.8 kB / 459.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.2982, allocations: 63.52 kB / 459.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2983, allocations: 93.38 kB / 460 MB, free: 14.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.2984, allocations: 318 kB / 460.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.2988, allocations: 131.8 kB / 460.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.2992, allocations: 257.9 kB / 460.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.3, allocations: 398.1 kB / 461.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3, allocations: 0 / 461.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001008/0.301, allocations: 0.5043 MB / 461.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.301, allocations: 8 kB / 461.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.3011, allocations: 23.98 kB / 461.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3011, allocations: 8 kB / 461.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.3015, allocations: 84.34 kB / 461.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3015, allocations: 11.94 kB / 461.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.3018, allocations: 63.62 kB / 461.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.3019, allocations: 24 kB / 461.8 MB, free: 12.1 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.0002315/0.3021, allocations: 205.7 kB / 462 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3022, allocations: 111.3 kB / 462.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3034, allocations: 477.7 kB / 462.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3034, allocations: 4 kB / 462.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.3034, allocations: 16 kB / 462.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.3037, allocations: 208.2 kB / 462.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.71e-05/0.3038, allocations: 4 kB / 462.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.3041, allocations: 19.97 kB / 462.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.3042, allocations: 27.97 kB / 462.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009868/0.3052, allocations: 400.7 kB / 463.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009021/0.3061, allocations: 0.5624 MB / 463.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003583/0.3064, allocations: 127.9 kB / 463.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006192/0.3071, allocations: 0.592 MB / 464.5 MB, free: 9.312 MB / 382.1 MB Notification: Performance of Backend: time 4.9e-07/0.3071, allocations: 3.938 kB / 464.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.3087, allocations: 0.8076 MB / 465.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of SimCode: time 0.002173/0.3109, allocations: 1.969 MB / 467.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of Templates: time 0.02275/0.3336, allocations: 15.75 MB / 483.1 MB, free: 6.766 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