Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.008332/0.008332, allocations: 99.17 kB / 21.93 MB, free: 5.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002333/0.002333, allocations: 221.8 kB / 25.23 MB, free: 3.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 207.7 MB / 236.1 MB, free: 9.945 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 51.94 kB / 348.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2636, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005323/0.2689, allocations: 4.754 MB / 402.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01893/0.2879, allocations: 15.81 MB / 418.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.289, allocations: 36.59 kB / 418.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.2914, allocations: 0.701 MB / 418.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006019/0.2975, allocations: 1.577 MB / 420.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004786/0.3022, allocations: 1.236 MB / 421.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.3056, allocations: 1.775 MB / 423.5 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.3059, allocations: 110.7 kB / 423.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005611/0.3065, allocations: 337.8 kB / 423.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.3069, allocations: 344.7 kB / 424.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.797e-05/0.307, allocations: 31.66 kB / 424.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.3103, allocations: 1.048 MB / 425.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.3105, allocations: 115.6 kB / 425.5 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004698/0.311, allocations: 323.8 kB / 425.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.3143, allocations: 1.633 MB / 427.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3143, allocations: 3.938 kB / 427.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3143, allocations: 0 / 427.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.3144, allocations: 4 kB / 427.4 MB, free: 5.297 MB / 334.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.002535/0.3169, allocations: 1.352 MB / 428.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3169, allocations: 11.98 kB / 428.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.3171, allocations: 123.2 kB / 428.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.3183, allocations: 0.7111 MB / 429.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.3184, allocations: 20.48 kB / 429.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.3184, allocations: 23.94 kB / 429.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/0.3193, allocations: 344.8 kB / 430 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3193, allocations: 0 / 430 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.3193, allocations: 8 kB / 430 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3193, allocations: 7.984 kB / 430 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/0.3203, allocations: 349.9 kB / 430.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.3224, allocations: 1.053 MB / 431.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.3233, allocations: 250.5 kB / 431.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.3238, allocations: 221.5 kB / 431.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007454/0.3313, allocations: 3.637 MB / 435.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006128/0.3319, allocations: 199.2 kB / 435.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.956e-06/0.3319, allocations: 0 / 435.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001462/0.3334, allocations: 0.4888 MB / 436.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3334, allocations: 59.39 kB / 436.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.3346, allocations: 0.8902 MB / 437.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.3347, allocations: 29.7 kB / 437.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.3351, allocations: 472.8 kB / 437.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.3352, allocations: 63.48 kB / 437.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3353, allocations: 89.59 kB / 437.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3355, allocations: 318 kB / 438.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.3359, allocations: 131.8 kB / 438.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.3364, allocations: 253.9 kB / 438.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/0.3373, allocations: 409.4 kB / 438.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3373, allocations: 0 / 438.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001158/0.3385, allocations: 0.4932 MB / 439.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3385, allocations: 8 kB / 439.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.815e-05/0.3385, allocations: 31.94 kB / 439.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3386, allocations: 4 kB / 439.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.3389, allocations: 83.81 kB / 439.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.3389, allocations: 11.98 kB / 439.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.3393, allocations: 55.75 kB / 439.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.3394, allocations: 24 kB / 439.6 MB, free: 8.672 MB / 350.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.000348/0.3397, allocations: 213.7 kB / 439.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3399, allocations: 111.3 kB / 439.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.3411, allocations: 472.1 kB / 440.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3411, allocations: 4 kB / 440.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3411, allocations: 0 / 440.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3411, allocations: 0 / 440.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.3418, allocations: 495 kB / 440.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/0.3418, allocations: 16 kB / 440.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.342, allocations: 43.89 kB / 440.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.342, allocations: 4 kB / 440.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.3421, allocations: 15.94 kB / 440.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3421, allocations: 3.938 kB / 440.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3421, allocations: 0 / 440.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009861/0.3431, allocations: 451.2 kB / 441.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.3434, allocations: 127.2 kB / 441.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.3435, allocations: 7.984 kB / 441.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.3438, allocations: 27.97 kB / 441.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3439, allocations: 35.89 kB / 441.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.3439, allocations: 16 kB / 441.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007647/0.3447, allocations: 0.5959 MB / 442.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3447, allocations: 0 / 442.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006666/0.3453, allocations: 227.6 kB / 442.4 MB, free: 5.766 MB / 350.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.0007355/0.3461, allocations: 491.5 kB / 442.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3471, allocations: 333.6 kB / 443.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3471, allocations: 1.25 kB / 443.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.3476, allocations: 177.6 kB / 443.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.3482, allocations: 140.5 kB / 443.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.3509, allocations: 1.515 MB / 445 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.3512, allocations: 370.4 kB / 445.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.3514, allocations: 55.44 kB / 445.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3514, allocations: 4 kB / 445.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of Templates: time 0.02144/0.3728, allocations: 12.92 MB / 458.4 MB, free: 5.664 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.572662773076445]