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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 114 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 208.9 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.366/1.366, allocations: 230.4 MB / 255.4 MB, free: 9.062 MB / 206.1 MB " [Timeout remaining time 178] 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=99,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=99,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "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.001928/0.001928, allocations: 67.83 kB / 374.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2352, allocations: 53.31 MB / 428 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006569/0.2418, allocations: 5.574 MB / 433.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02196/0.2637, allocations: 19.51 MB / 453.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/0.2645, allocations: 27.81 kB / 453.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.2668, allocations: 0.8352 MB / 454 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.2715, allocations: 1.596 MB / 455.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.2753, allocations: 1.311 MB / 456.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00315/0.2785, allocations: 1.815 MB / 458.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.2788, allocations: 113.2 kB / 458.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.2792, allocations: 354.4 kB / 459.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.2797, allocations: 365.8 kB / 459.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.2798, allocations: 35.94 kB / 459.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.2834, allocations: 1.447 MB / 461 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.2836, allocations: 111.3 kB / 461.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.2841, allocations: 429.3 kB / 461.5 MB, free: 6.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.2871, allocations: 1.615 MB / 463.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2871, allocations: 0 / 463.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2871, allocations: 0 / 463.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.2872, allocations: 0 / 463.1 MB, free: 4.801 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.002306/0.2895, allocations: 1.416 MB / 464.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2895, allocations: 12.03 kB / 464.6 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2897, allocations: 127.1 kB / 464.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.2907, allocations: 0.7909 MB / 465.5 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.2907, allocations: 20.56 kB / 465.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.2908, allocations: 31.97 kB / 465.5 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.2916, allocations: 328.7 kB / 465.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2916, allocations: 3.938 kB / 465.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.2916, allocations: 12 kB / 465.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2917, allocations: 11.94 kB / 465.9 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009603/0.2926, allocations: 342 kB / 466.2 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.2946, allocations: 1.242 MB / 467.5 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.2954, allocations: 252.3 kB / 467.7 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.2959, allocations: 217 kB / 467.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008595/0.3045, allocations: 7.914 MB / 475.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005576/0.3051, allocations: 203.2 kB / 476 MB, free: 6.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.3051, allocations: 0 / 476 MB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001424/0.3065, allocations: 0.4927 MB / 476.5 MB, free: 6.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3066, allocations: 55.41 kB / 476.6 MB, free: 6.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.3077, allocations: 0.8824 MB / 477.5 MB, free: 5.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3077, allocations: 29.7 kB / 477.5 MB, free: 5.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.3081, allocations: 468.8 kB / 477.9 MB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.403e-05/0.3082, allocations: 63.52 kB / 478 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3083, allocations: 89.38 kB / 478.1 MB, free: 4.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3085, allocations: 322 kB / 478.4 MB, free: 4.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.3089, allocations: 123.9 kB / 478.5 MB, free: 4.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.3094, allocations: 257.9 kB / 478.8 MB, free: 3.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008619/0.3102, allocations: 388.3 kB / 479.2 MB, free: 3.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3102, allocations: 0 / 479.2 MB, free: 3.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001109/0.3113, allocations: 0.5042 MB / 479.7 MB, free: 2.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3113, allocations: 7.938 kB / 479.7 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/0.3114, allocations: 23.98 kB / 479.7 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3114, allocations: 8.562 kB / 479.7 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.3118, allocations: 91.81 kB / 479.8 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3118, allocations: 8 kB / 479.8 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.3122, allocations: 55.64 kB / 479.9 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.3122, allocations: 24 kB / 479.9 MB, free: 2.578 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.0002726/0.3125, allocations: 217.6 kB / 480.1 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3126, allocations: 115.3 kB / 480.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.3138, allocations: 462.4 kB / 480.7 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3139, allocations: 0 / 480.7 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3139, allocations: 7.922 kB / 480.7 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3139, allocations: 7.938 kB / 480.7 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.3145, allocations: 0.5633 MB / 481.2 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-05/0.3145, allocations: 27.94 kB / 481.3 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.3148, allocations: 47.95 kB / 481.3 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3148, allocations: 0 / 481.3 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.3148, allocations: 11.98 kB / 481.3 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3148, allocations: 4 kB / 481.3 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3148, allocations: 0 / 481.3 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3158, allocations: 450.9 kB / 481.8 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.3161, allocations: 204.2 kB / 482 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.3161, allocations: 15.98 kB / 482 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.3164, allocations: 31.91 kB / 482 MB, free: 340 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.3165, allocations: 27.97 kB / 482 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.3166, allocations: 15.98 kB / 482.1 MB, free: 296 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007367/0.3173, allocations: 0.5842 MB / 482.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3173, allocations: 0 / 482.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006435/0.3179, allocations: 223.7 kB / 482.9 MB, free: 15.48 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.0007271/0.3187, allocations: 483.1 kB / 483.3 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009988/0.3197, allocations: 342.3 kB / 483.7 MB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3197, allocations: 0 / 483.7 MB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.3202, allocations: 169.5 kB / 483.8 MB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.3209, allocations: 176.6 kB / 484 MB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.3234, allocations: 1.509 MB / 485.5 MB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.324, allocations: 0.9563 MB / 486.5 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3242, allocations: 55.42 kB / 486.5 MB, free: 11.71 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3242, allocations: 0 / 486.5 MB, free: 11.71 MB / 398.1 MB Notification: Performance of Templates: time 0.0178/0.342, allocations: 12.48 MB / 499 MB, free: 15.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,VGS.p.v,M1.D.i Variables in the result:M1.D.i,VGS.p.v,time [Calling sys.exit(0), Time elapsed: 7.7161900389473885]