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.0009082/0.0009082, allocations: 96.8 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 204.4 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.7 MB / 247.5 MB, free: 9.707 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002436/0.0002437, allocations: 11.98 kB / 308.4 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09473, allocations: 51.52 MB / 359.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005246/0.1, allocations: 5.162 MB / 365.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2049/0.305, allocations: 19.33 MB / 384.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000864/0.3059, allocations: 10.81 kB / 384.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.3084, allocations: 0.7855 MB / 385.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005682/0.3141, allocations: 1.301 MB / 386.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006033/0.3201, allocations: 1.089 MB / 387.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003152/0.3233, allocations: 1.767 MB / 389.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.3237, allocations: 157 kB / 389.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005734/0.3243, allocations: 334.1 kB / 389.8 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005507/0.3248, allocations: 350.3 kB / 390.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.3249, allocations: 18.19 kB / 390.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005515/0.3305, allocations: 1.436 MB / 391.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3306, allocations: 94.78 kB / 391.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008455/0.3315, allocations: 445.6 kB / 392.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.3332, allocations: 1.117 MB / 393.3 MB, free: 4.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3332, allocations: 0.6562 kB / 393.3 MB, free: 4.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3332, allocations: 5.25 kB / 393.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.3332, allocations: 0 / 393.3 MB, free: 4.602 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.002341/0.3356, allocations: 1.263 MB / 394.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3356, allocations: 9.719 kB / 394.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.3358, allocations: 117.2 kB / 394.7 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009057/0.3367, allocations: 0.7843 MB / 395.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.3367, allocations: 15.59 kB / 395.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.3368, allocations: 23.62 kB / 395.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.3376, allocations: 366.8 kB / 395.8 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3376, allocations: 3.938 kB / 395.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.3376, allocations: 14.56 kB / 395.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3376, allocations: 10.25 kB / 395.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009514/0.3386, allocations: 385.2 kB / 396.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.3403, allocations: 1.248 MB / 397.5 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.3412, allocations: 306.1 kB / 397.8 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.3417, allocations: 256.3 kB / 398 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006959/0.3487, allocations: 7.929 MB / 406 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000538/0.3492, allocations: 228.7 kB / 406.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.3493, allocations: 0 / 406.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001398/0.3507, allocations: 0.543 MB / 406.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3507, allocations: 57.06 kB / 406.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/0.3517, allocations: 0.8793 MB / 407.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3517, allocations: 32.58 kB / 407.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.3521, allocations: 459.4 kB / 408.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.3521, allocations: 64.55 kB / 408.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.3522, allocations: 34.58 kB / 408.3 MB, free: 9.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.3523, allocations: 327 kB / 408.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.3527, allocations: 150.6 kB / 408.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.3532, allocations: 284.4 kB / 409 MB, free: 8.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/0.3541, allocations: 427 kB / 409.4 MB, free: 8.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3541, allocations: 0 / 409.4 MB, free: 8.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001146/0.3552, allocations: 0.5385 MB / 410 MB, free: 7.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3553, allocations: 13.73 kB / 410 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.3553, allocations: 19.88 kB / 410 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3553, allocations: 11.72 kB / 410 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.3557, allocations: 102.3 kB / 410.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3557, allocations: 4.812 kB / 410.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.3562, allocations: 70.47 kB / 410.2 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.3562, allocations: 23.98 kB / 410.2 MB, free: 7.758 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.0002768/0.3565, allocations: 218.7 kB / 410.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3566, allocations: 106.7 kB / 410.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.358, allocations: 0.5027 MB / 411 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.358, allocations: 3.984 kB / 411 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.358, allocations: 4 kB / 411 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.358, allocations: 0 / 411 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.3586, allocations: 0.5671 MB / 411.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-05/0.3587, allocations: 16 kB / 411.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.3589, allocations: 60.02 kB / 411.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3589, allocations: 3.812 kB / 411.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.359, allocations: 15.92 kB / 411.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.359, allocations: 3.938 kB / 411.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.359, allocations: 4 kB / 411.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/0.36, allocations: 489.7 kB / 412.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.3602, allocations: 199.6 kB / 412.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3603, allocations: 7.984 kB / 412.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.3607, allocations: 35.97 kB / 412.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.3608, allocations: 35.95 kB / 412.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.3608, allocations: 12 kB / 412.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006567/0.3615, allocations: 0.5959 MB / 413 MB, free: 4.785 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3615, allocations: 0 / 413 MB, free: 4.785 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006422/0.3621, allocations: 219.8 kB / 413.3 MB, free: 4.57 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.0007187/0.3628, allocations: 471.3 kB / 413.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3639, allocations: 398.3 kB / 414.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.3639, allocations: 4.125 kB / 414.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.3644, allocations: 197.7 kB / 414.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009206/0.3653, allocations: 166.8 kB / 414.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.3679, allocations: 1.801 MB / 416.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.3684, allocations: 0.9644 MB / 417.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3685, allocations: 47.44 kB / 417.3 MB, free: 472 kB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3685, allocations: 4 kB / 417.3 MB, free: 468 kB / 318.1 MB Notification: Performance of Templates: time 0.01683/0.3854, allocations: 12.22 MB / 429.5 MB, free: 4.281 MB / 334.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