Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001682/0.001682, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 227.7 MB / 247.7 MB, free: 10.37 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 64.81 kB / 307.9 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09841, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00698/0.1054, allocations: 5.556 MB / 364 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1772/0.2827, allocations: 19.43 MB / 383.4 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009099/0.2837, allocations: 10.19 kB / 383.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.2861, allocations: 0.8285 MB / 384.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006191/0.2923, allocations: 1.589 MB / 385.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005704/0.2981, allocations: 1.313 MB / 387.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003676/0.3018, allocations: 1.806 MB / 389 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.3021, allocations: 172 kB / 389.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005639/0.3027, allocations: 341.1 kB / 389.5 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.3031, allocations: 375.1 kB / 389.8 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.3032, allocations: 32.31 kB / 389.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004884/0.3081, allocations: 1.439 MB / 391.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.3083, allocations: 116.6 kB / 391.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005382/0.3089, allocations: 427.2 kB / 391.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.3122, allocations: 1.605 MB / 393.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3123, allocations: 1.094 kB / 393.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3123, allocations: 0 / 393.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.3123, allocations: 4 kB / 393.4 MB, free: 3.555 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.002258/0.3146, allocations: 1.382 MB / 394.8 MB, free: 2.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3146, allocations: 9.656 kB / 394.8 MB, free: 2.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.3148, allocations: 116 kB / 394.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.3159, allocations: 0.7851 MB / 395.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.3159, allocations: 17.53 kB / 395.7 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.316, allocations: 19.31 kB / 395.8 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.3168, allocations: 340.3 kB / 396.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3168, allocations: 0 / 396.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.3168, allocations: 10.22 kB / 396.1 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3169, allocations: 9.672 kB / 396.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.3177, allocations: 344.8 kB / 396.5 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.3196, allocations: 1.25 MB / 397.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.3204, allocations: 261.3 kB / 398 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.3209, allocations: 234.8 kB / 398.2 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009404/0.3303, allocations: 7.925 MB / 406.1 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/0.331, allocations: 204.2 kB / 406.3 MB, free: 9.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.765e-06/0.331, allocations: 0 / 406.3 MB, free: 9.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001437/0.3324, allocations: 490.6 kB / 406.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.3325, allocations: 60.36 kB / 406.8 MB, free: 8.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3336, allocations: 0.8761 MB / 407.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.3337, allocations: 35.81 kB / 407.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.3341, allocations: 460.4 kB / 408.2 MB, free: 7.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.3342, allocations: 63.39 kB / 408.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.3343, allocations: 86.98 kB / 408.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3345, allocations: 324.8 kB / 408.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.3349, allocations: 127.5 kB / 408.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.3354, allocations: 262 kB / 409.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008908/0.3363, allocations: 393 kB / 409.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3363, allocations: 5.25 kB / 409.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001253/0.3376, allocations: 0.4946 MB / 409.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.3376, allocations: 14 kB / 409.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-05/0.3377, allocations: 23.94 kB / 410 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.3377, allocations: 8 kB / 410 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.3381, allocations: 79.88 kB / 410.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.3381, allocations: 11.94 kB / 410.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.3388, allocations: 63.52 kB / 410.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.3388, allocations: 16 kB / 410.1 MB, free: 6.336 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.0003683/0.3392, allocations: 213.7 kB / 410.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3394, allocations: 106.7 kB / 410.5 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.3409, allocations: 476.9 kB / 410.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3409, allocations: 4 kB / 410.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3409, allocations: 0 / 410.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3409, allocations: 0 / 410.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.3419, allocations: 0.5672 MB / 411.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-05/0.342, allocations: 20 kB / 411.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.3422, allocations: 39.95 kB / 411.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.3423, allocations: 4 kB / 411.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.3423, allocations: 15.98 kB / 411.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3423, allocations: 3.984 kB / 411.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3423, allocations: 0 / 411.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.3434, allocations: 451.9 kB / 412 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.3438, allocations: 203.6 kB / 412.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3439, allocations: 11.94 kB / 412.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.3442, allocations: 23.97 kB / 412.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3443, allocations: 31.95 kB / 412.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.3444, allocations: 16 kB / 412.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008552/0.3452, allocations: 0.592 MB / 412.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3452, allocations: 0 / 412.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007955/0.346, allocations: 223.8 kB / 413.1 MB, free: 3.242 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.0008715/0.3469, allocations: 479.3 kB / 413.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.348, allocations: 350.3 kB / 413.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.348, allocations: 0 / 413.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.3485, allocations: 185.5 kB / 414.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/0.3495, allocations: 183 kB / 414.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.3524, allocations: 1.503 MB / 415.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.3531, allocations: 0.9563 MB / 416.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.3532, allocations: 55.44 kB / 416.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3532, allocations: 0 / 416.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of Templates: time 0.0213/0.3745, allocations: 12.36 MB / 429.2 MB, free: 3.168 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches