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.0007108/0.0007109, allocations: 92.06 kB / 16.65 MB, free: 6.59 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.000778/0.0007781, allocations: 181.1 kB / 17.56 MB, free: 6.203 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.279/1.279, allocations: 223.3 MB / 241.6 MB, free: 124 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002409, allocations: 11.94 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1137, allocations: 50.42 MB / 351.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.009138/0.1229, allocations: 5.145 MB / 357 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2316/0.3545, allocations: 19.29 MB / 376.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000783/0.3554, allocations: 12.28 kB / 376.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00282/0.3582, allocations: 0.7814 MB / 377.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.3629, allocations: 1.307 MB / 378.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.3673, allocations: 1.089 MB / 379.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003068/0.3704, allocations: 1.753 MB / 381.2 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.3707, allocations: 152.7 kB / 381.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005173/0.3713, allocations: 324.2 kB / 381.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.3717, allocations: 356.9 kB / 382 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.3717, allocations: 18.38 kB / 382 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.3749, allocations: 1.427 MB / 383.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.375, allocations: 106.8 kB / 383.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.3754, allocations: 441.3 kB / 384 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.3775, allocations: 1.536 MB / 385.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3775, allocations: 3.562 kB / 385.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3775, allocations: 5.031 kB / 385.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3775, allocations: 0 / 385.5 MB, free: 7.625 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.001797/0.3793, allocations: 1.253 MB / 386.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.3794, allocations: 8.688 kB / 386.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3795, allocations: 117.9 kB / 386.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009376/0.3805, allocations: 0.7849 MB / 387.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3805, allocations: 18.89 kB / 387.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.3806, allocations: 22.92 kB / 387.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000777/0.3814, allocations: 360.1 kB / 388.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3814, allocations: 0 / 388.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3814, allocations: 9.625 kB / 388.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3814, allocations: 12.12 kB / 388.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009351/0.3824, allocations: 391.6 kB / 388.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.3841, allocations: 1.26 MB / 389.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008363/0.3849, allocations: 306.3 kB / 390.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.3854, allocations: 253.4 kB / 390.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006064/0.3915, allocations: 7.759 MB / 398.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005333/0.392, allocations: 240.6 kB / 398.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.734e-06/0.3921, allocations: 0 / 398.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001418/0.3935, allocations: 0.5405 MB / 398.8 MB, free: 14.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3935, allocations: 59.03 kB / 398.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009798/0.3945, allocations: 0.8784 MB / 399.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3946, allocations: 28.27 kB / 399.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.3949, allocations: 465.9 kB / 400.3 MB, free: 13.44 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.395, allocations: 60.47 kB / 400.3 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.395, allocations: 34.7 kB / 400.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3951, allocations: 319.1 kB / 400.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.3955, allocations: 150.8 kB / 400.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.396, allocations: 275.6 kB / 401.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.3969, allocations: 448.3 kB / 401.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3969, allocations: 0 / 401.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001069/0.398, allocations: 0.5396 MB / 402.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.398, allocations: 7.656 kB / 402.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.398, allocations: 25.75 kB / 402.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3981, allocations: 5.375 kB / 402.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.3984, allocations: 94.84 kB / 402.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3984, allocations: 9.75 kB / 402.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.3988, allocations: 72.2 kB / 402.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.3989, allocations: 25.97 kB / 402.3 MB, free: 12.1 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.0002384/0.3991, allocations: 203.1 kB / 402.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.3992, allocations: 108.4 kB / 402.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.4006, allocations: 0.514 MB / 403.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4006, allocations: 0 / 403.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4006, allocations: 2.875 kB / 403.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4006, allocations: 4 kB / 403.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.4011, allocations: 0.5671 MB / 403.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/0.4012, allocations: 19 kB / 403.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.4014, allocations: 51.58 kB / 403.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4014, allocations: 2.188 kB / 403.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.4015, allocations: 16.52 kB / 403.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4015, allocations: 0 / 403.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4015, allocations: 6.984 kB / 403.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009834/0.4025, allocations: 496.5 kB / 404.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.4027, allocations: 199.7 kB / 404.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.563e-05/0.4028, allocations: 12 kB / 404.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.4031, allocations: 35.91 kB / 404.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.4032, allocations: 31.95 kB / 404.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.4033, allocations: 15.94 kB / 404.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006436/0.4039, allocations: 0.592 MB / 405.1 MB, free: 9.906 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4039, allocations: 0 / 405.1 MB, free: 9.906 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006033/0.4045, allocations: 219.8 kB / 405.4 MB, free: 9.691 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.000607/0.4052, allocations: 479.5 kB / 405.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009659/0.4061, allocations: 386.4 kB / 406.2 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4061, allocations: 3.938 kB / 406.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.4066, allocations: 199.8 kB / 406.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.4075, allocations: 172.4 kB / 406.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.4098, allocations: 1.755 MB / 408.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.4103, allocations: 0.9721 MB / 409.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.4107, allocations: 98 kB / 409.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.4108, allocations: 47.44 kB / 409.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4108, allocations: 4 kB / 409.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of Templates: time 0.01935/0.4301, allocations: 12.17 MB / 421.6 MB, free: 9.535 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","/var/lib/jenkins/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