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.006318/0.006318, allocations: 107.6 kB / 21.98 MB, free: 5.223 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.001376/0.001376, allocations: 212.2 kB / 25.29 MB, free: 3.203 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.407/1.407, allocations: 230.6 MB / 259 MB, free: 8.281 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.002033/0.002033, allocations: 72.75 kB / 379.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2539, allocations: 53.37 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006819/0.2608, allocations: 5.59 MB / 438.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02282/0.2836, allocations: 19.53 MB / 458.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009237/0.2845, allocations: 39.56 kB / 458.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.2869, allocations: 0.8358 MB / 459.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.2923, allocations: 1.617 MB / 460.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.2969, allocations: 1.324 MB / 462.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003531/0.3005, allocations: 1.821 MB / 463.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.3008, allocations: 109.6 kB / 464 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005527/0.3013, allocations: 366.4 kB / 464.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.3018, allocations: 377.7 kB / 464.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.3019, allocations: 32 kB / 464.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.3056, allocations: 1.436 MB / 466.2 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.3057, allocations: 119.3 kB / 466.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.3062, allocations: 425.3 kB / 466.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003038/0.3092, allocations: 1.627 MB / 468.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3092, allocations: 0 / 468.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3092, allocations: 0 / 468.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.3093, allocations: 0 / 468.4 MB, free: 3.613 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.002495/0.3118, allocations: 1.341 MB / 469.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3118, allocations: 8.031 kB / 469.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.312, allocations: 127.1 kB / 469.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.3131, allocations: 0.7072 MB / 470.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.3131, allocations: 16.5 kB / 470.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.3132, allocations: 31.98 kB / 470.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.3139, allocations: 332.8 kB / 470.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.314, allocations: 7.938 kB / 470.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.314, allocations: 8 kB / 470.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.314, allocations: 11.94 kB / 471 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/0.3149, allocations: 341.9 kB / 471.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.317, allocations: 1.182 MB / 472.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.3178, allocations: 254.5 kB / 472.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.3184, allocations: 213.9 kB / 472.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006818/0.3252, allocations: 3.649 MB / 476.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.3257, allocations: 203.2 kB / 476.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.3257, allocations: 0 / 476.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.00135/0.3271, allocations: 496.5 kB / 477.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.3271, allocations: 59.41 kB / 477.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3282, allocations: 0.8863 MB / 478.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3283, allocations: 29.7 kB / 478.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.3287, allocations: 468.8 kB / 478.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.3288, allocations: 63.52 kB / 478.8 MB, free: 8.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.3289, allocations: 93.38 kB / 478.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3291, allocations: 314 kB / 479.2 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.3295, allocations: 139.7 kB / 479.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.3299, allocations: 257.8 kB / 479.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008155/0.3307, allocations: 391.3 kB / 479.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3307, allocations: 3.984 kB / 479.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001088/0.3318, allocations: 0.5073 MB / 480.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3318, allocations: 8 kB / 480.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.386e-05/0.3319, allocations: 20 kB / 480.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.3319, allocations: 8 kB / 480.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.3323, allocations: 88.28 kB / 480.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3323, allocations: 8 kB / 480.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.3326, allocations: 59.67 kB / 480.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.3327, allocations: 24 kB / 480.6 MB, free: 6.879 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.0002868/0.333, allocations: 202.4 kB / 480.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.3331, allocations: 119.2 kB / 481 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.3343, allocations: 469.7 kB / 481.4 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.3343, allocations: 8 kB / 481.4 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3343, allocations: 0 / 481.4 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3344, allocations: 3.938 kB / 481.4 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.335, allocations: 0.5389 MB / 482 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.335, allocations: 20 kB / 482 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.3353, allocations: 51.95 kB / 482 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3353, allocations: 0 / 482 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.3353, allocations: 11.98 kB / 482.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3353, allocations: 3.938 kB / 482.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3353, allocations: 4 kB / 482.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.3362, allocations: 447.2 kB / 482.5 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.3365, allocations: 123.2 kB / 482.6 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.3366, allocations: 8 kB / 482.6 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.3369, allocations: 31.95 kB / 482.7 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.337, allocations: 31.91 kB / 482.7 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.337, allocations: 15.98 kB / 482.7 MB, free: 4.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007301/0.3377, allocations: 0.5881 MB / 483.3 MB, free: 4.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3377, allocations: 0 / 483.3 MB, free: 4.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006695/0.3384, allocations: 219.7 kB / 483.5 MB, free: 3.914 MB / 382.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.000718/0.3391, allocations: 483.1 kB / 484 MB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000968/0.3401, allocations: 342.3 kB / 484.3 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3401, allocations: 0 / 484.3 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.3406, allocations: 177.6 kB / 484.5 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007449/0.3413, allocations: 172.6 kB / 484.7 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.3439, allocations: 1.515 MB / 486.2 MB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.3444, allocations: 0.9563 MB / 487.1 MB, free: 196 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.3445, allocations: 51.42 kB / 487.2 MB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3445, allocations: 0 / 487.2 MB, free: 144 kB / 382.1 MB Notification: Performance of Templates: time 0.02002/0.3646, allocations: 12.47 MB / 499.6 MB, free: 3.719 MB / 398.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/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) [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: 8.110612070187926]