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.001254/0.001254, allocations: 117.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 204.7 kB / 18.79 MB, free: 4.312 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.432/1.432, allocations: 230.4 MB / 250 MB, free: 9.07 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.001838/0.001838, allocations: 67.83 kB / 367.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2525, allocations: 53.31 MB / 420.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007143/0.2596, allocations: 5.58 MB / 426.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02324/0.2829, allocations: 19.5 MB / 445.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/0.2837, allocations: 23.81 kB / 445.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.2861, allocations: 0.8379 MB / 446.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004736/0.2909, allocations: 1.6 MB / 448.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003973/0.2948, allocations: 1.32 MB / 449.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.2979, allocations: 1.815 MB / 451.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.2981, allocations: 109.2 kB / 451.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.2986, allocations: 358.4 kB / 451.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.2991, allocations: 373.7 kB / 452.1 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.579e-05/0.2991, allocations: 32 kB / 452.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.3025, allocations: 1.44 MB / 453.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.3026, allocations: 111.3 kB / 453.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004614/0.3031, allocations: 437.3 kB / 454.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.306, allocations: 1.611 MB / 455.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.306, allocations: 3.938 kB / 455.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.306, allocations: 0 / 455.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.306, allocations: 0 / 455.8 MB, free: 5.242 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.002352/0.3084, allocations: 1.424 MB / 457.2 MB, free: 3.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3084, allocations: 8.031 kB / 457.2 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.3086, allocations: 127.1 kB / 457.3 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.3096, allocations: 0.7832 MB / 458.1 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3097, allocations: 20.56 kB / 458.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.3097, allocations: 23.98 kB / 458.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.3105, allocations: 336.7 kB / 458.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3105, allocations: 0 / 458.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.3106, allocations: 12 kB / 458.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.3106, allocations: 7.938 kB / 458.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009384/0.3115, allocations: 346 kB / 458.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.3136, allocations: 1.246 MB / 460.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.3145, allocations: 246.6 kB / 460.3 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/0.315, allocations: 213 kB / 460.5 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008708/0.3237, allocations: 7.918 MB / 468.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000574/0.3243, allocations: 207.2 kB / 468.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.3243, allocations: 0 / 468.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001405/0.3257, allocations: 0.4912 MB / 469.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3257, allocations: 59.41 kB / 469.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.3268, allocations: 0.8824 MB / 470.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3268, allocations: 33.7 kB / 470.1 MB, free: 5.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.3273, allocations: 472.8 kB / 470.6 MB, free: 5.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.3273, allocations: 59.53 kB / 470.6 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3275, allocations: 89.38 kB / 470.7 MB, free: 4.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3276, allocations: 318 kB / 471 MB, free: 4.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.328, allocations: 127.9 kB / 471.2 MB, free: 4.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.3285, allocations: 257.9 kB / 471.4 MB, free: 4.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.3294, allocations: 384.3 kB / 471.8 MB, free: 3.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3294, allocations: 4 kB / 471.8 MB, free: 3.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001103/0.3305, allocations: 0.5081 MB / 472.3 MB, free: 3.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3305, allocations: 8 kB / 472.3 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/0.3305, allocations: 27.97 kB / 472.3 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.3305, allocations: 8 kB / 472.3 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.3309, allocations: 88.38 kB / 472.4 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3309, allocations: 8 kB / 472.4 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.3313, allocations: 59.64 kB / 472.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.3313, allocations: 20 kB / 472.5 MB, free: 3.012 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.0002695/0.3316, allocations: 209.7 kB / 472.7 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3317, allocations: 115.3 kB / 472.8 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.333, allocations: 469.4 kB / 473.3 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.333, allocations: 4 kB / 473.3 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.333, allocations: 3.984 kB / 473.3 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.333, allocations: 3.938 kB / 473.3 MB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.3336, allocations: 0.5633 MB / 473.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/0.3337, allocations: 16 kB / 473.9 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.3339, allocations: 48.02 kB / 473.9 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3339, allocations: 7.938 kB / 473.9 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.3339, allocations: 11.98 kB / 473.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3339, allocations: 0 / 473.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3339, allocations: 0 / 473.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009537/0.3349, allocations: 448.5 kB / 474.4 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.3352, allocations: 208.2 kB / 474.6 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/0.3353, allocations: 7.984 kB / 474.6 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.3355, allocations: 27.97 kB / 474.6 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3356, allocations: 35.91 kB / 474.7 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.3357, allocations: 19.92 kB / 474.7 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007178/0.3364, allocations: 0.5881 MB / 475.3 MB, free: 136 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3364, allocations: 0 / 475.3 MB, free: 136 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006462/0.337, allocations: 219.7 kB / 475.5 MB, free: 15.91 MB / 398.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.000678/0.3377, allocations: 486.4 kB / 476 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.3386, allocations: 346.3 kB / 476.3 MB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3386, allocations: 128 / 476.3 MB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.3391, allocations: 169.5 kB / 476.5 MB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.3398, allocations: 171.6 kB / 476.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.3422, allocations: 1.48 MB / 478.1 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.3427, allocations: 0.9602 MB / 479.1 MB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.343, allocations: 102 kB / 479.2 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.563e-05/0.3431, allocations: 47.44 kB / 479.2 MB, free: 12.09 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3431, allocations: 4 kB / 479.2 MB, free: 12.09 MB / 398.1 MB Notification: Performance of Templates: time 0.02223/0.3653, allocations: 12.95 MB / 492.2 MB, free: 15.27 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/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