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.001438/0.001438, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 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.00176/0.00176, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.425/1.425, allocations: 207.6 MB / 236 MB, free: 9.988 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.001928/0.001928, allocations: 43.94 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2702, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005693/0.2759, allocations: 5.44 MB / 403 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02078/0.2967, allocations: 18.57 MB / 421.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.2979, allocations: 36.97 kB / 421.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.3007, allocations: 0.8115 MB / 422.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006648/0.3073, allocations: 1.591 MB / 424 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004791/0.3121, allocations: 1.283 MB / 425.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003526/0.3157, allocations: 1.772 MB / 427.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.316, allocations: 115 kB / 427.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.3165, allocations: 341.3 kB / 427.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.317, allocations: 359.7 kB / 427.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.3171, allocations: 36.69 kB / 427.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.3208, allocations: 1.117 MB / 429.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3209, allocations: 115.2 kB / 429.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004943/0.3214, allocations: 436.8 kB / 429.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.3246, allocations: 1.624 MB / 431.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3246, allocations: 0 / 431.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3246, allocations: 0 / 431.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3246, allocations: 0 / 431.2 MB, free: 1.668 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.00237/0.327, allocations: 1.356 MB / 432.6 MB, free: 280 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.327, allocations: 15.98 kB / 432.6 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.3272, allocations: 119.2 kB / 432.7 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.3283, allocations: 0.7072 MB / 433.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.3284, allocations: 16.5 kB / 433.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.3284, allocations: 39.86 kB / 433.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.3292, allocations: 332.8 kB / 433.8 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3292, allocations: 7.938 kB / 433.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.3292, allocations: 8 kB / 433.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.3293, allocations: 8 kB / 433.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.3301, allocations: 341.9 kB / 434.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.3322, allocations: 1.178 MB / 435.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/0.333, allocations: 250.6 kB / 435.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.3335, allocations: 209.6 kB / 435.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007281/0.3408, allocations: 3.676 MB / 439.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005541/0.3413, allocations: 219 kB / 439.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.755e-06/0.3413, allocations: 0 / 439.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00136/0.3427, allocations: 488.7 kB / 440.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.3428, allocations: 59.41 kB / 440.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.344, allocations: 0.8829 MB / 441.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.344, allocations: 33.7 kB / 441.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.3444, allocations: 464.8 kB / 441.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.3445, allocations: 67.5 kB / 441.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.3446, allocations: 81.61 kB / 441.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3448, allocations: 326 kB / 442 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.3451, allocations: 127.8 kB / 442.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.3456, allocations: 253.9 kB / 442.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.3464, allocations: 401.5 kB / 442.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3464, allocations: 4 kB / 442.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001054/0.3475, allocations: 0.4964 MB / 443.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3475, allocations: 12.56 kB / 443.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.262e-05/0.3476, allocations: 24 kB / 443.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.3476, allocations: 8 kB / 443.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.348, allocations: 83.88 kB / 443.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.348, allocations: 15.92 kB / 443.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.3484, allocations: 51.75 kB / 443.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.3484, allocations: 24 kB / 443.5 MB, free: 4.883 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.0002808/0.3487, allocations: 209.7 kB / 443.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3488, allocations: 119.2 kB / 443.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3501, allocations: 472.1 kB / 444.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3501, allocations: 0 / 444.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3501, allocations: 0 / 444.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3501, allocations: 0 / 444.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.3508, allocations: 0.5468 MB / 444.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/0.3508, allocations: 16 kB / 444.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3511, allocations: 43.94 kB / 444.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.3511, allocations: 7.938 kB / 444.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.3511, allocations: 8 kB / 444.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3511, allocations: 7.938 kB / 444.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3511, allocations: 0 / 444.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009741/0.3521, allocations: 467.1 kB / 445.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.3524, allocations: 131.2 kB / 445.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.3525, allocations: 4 kB / 445.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.3528, allocations: 27.95 kB / 445.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3529, allocations: 35.89 kB / 445.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.3529, allocations: 12 kB / 445.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008011/0.3537, allocations: 0.5961 MB / 446.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3537, allocations: 4 kB / 446.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006957/0.3544, allocations: 223.7 kB / 446.4 MB, free: 1.891 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.0008511/0.3553, allocations: 483.5 kB / 446.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009784/0.3562, allocations: 338.6 kB / 447.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3562, allocations: 0 / 447.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.3567, allocations: 181.8 kB / 447.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.3573, allocations: 144.5 kB / 447.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.3604, allocations: 1.519 MB / 449 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/0.3611, allocations: 0.9564 MB / 450 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.3613, allocations: 51.44 kB / 450.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3613, allocations: 7.938 kB / 450.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of Templates: time 0.02561/0.3869, allocations: 12.49 MB / 462.5 MB, free: 1.621 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.008858393877745]