Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001015/0.001015, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.00426/0.00426, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8711/0.8711, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.993e-05, allocations: 2.281 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004096/0.004126, allocations: 4.904 MB / 330.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.01619, allocations: 16.64 MB / 347.4 MB, free: 9.824 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.01662, allocations: 35.62 kB / 347.4 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.01788, allocations: 0.7256 MB / 348.1 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.02045, allocations: 1.645 MB / 349.8 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.02219, allocations: 1.308 MB / 351.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.0237, allocations: 1.879 MB / 353 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.02403, allocations: 109.6 kB / 353.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/0.02449, allocations: 494.7 kB / 353.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.02473, allocations: 263.1 kB / 353.8 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.02477, allocations: 36 kB / 353.8 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.02626, allocations: 1.174 MB / 355 MB, free: 2.125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.02632, allocations: 119.2 kB / 355.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.02648, allocations: 243.2 kB / 355.4 MB, free: 1.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.02782, allocations: 1.682 MB / 357 MB, free: 84 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.02782, allocations: 4 kB / 357.1 MB, free: 80 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02782, allocations: 0 / 357.1 MB, free: 80 kB / 314.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.02783, allocations: 0 / 357.1 MB, free: 80 kB / 314.7 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.00148/0.02931, allocations: 1.329 MB / 358.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.02935, allocations: 16.03 kB / 358.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.02945, allocations: 127.1 kB / 358.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.03009, allocations: 0.7032 MB / 359.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.03011, allocations: 16.5 kB / 359.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.03015, allocations: 27.94 kB / 359.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.03058, allocations: 332.8 kB / 359.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.03059, allocations: 0 / 359.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.03062, allocations: 19.98 kB / 359.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.03063, allocations: 7.984 kB / 359.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.03109, allocations: 337.9 kB / 360 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.03218, allocations: 1.065 MB / 361 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.03262, allocations: 254.6 kB / 361.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.03289, allocations: 220.9 kB / 361.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003627/0.03652, allocations: 3.625 MB / 365.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/0.03686, allocations: 207.2 kB / 365.3 MB, free: 7.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.03686, allocations: 0 / 365.3 MB, free: 7.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007058/0.03757, allocations: 492.6 kB / 365.8 MB, free: 7.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.0376, allocations: 55.41 kB / 365.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.03818, allocations: 0.886 MB / 366.7 MB, free: 6.094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.0382, allocations: 29.7 kB / 366.8 MB, free: 6.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.03843, allocations: 472.6 kB / 367.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.03847, allocations: 67.52 kB / 367.3 MB, free: 5.527 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.03855, allocations: 85.59 kB / 367.4 MB, free: 5.438 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.03862, allocations: 321.9 kB / 367.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.03881, allocations: 123.9 kB / 367.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.03904, allocations: 261.8 kB / 368.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.03946, allocations: 396.6 kB / 368.4 MB, free: 4.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.03947, allocations: 0 / 368.4 MB, free: 4.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005485/0.04001, allocations: 0.5003 MB / 368.9 MB, free: 3.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.04003, allocations: 8 kB / 369 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.04005, allocations: 20.59 kB / 369 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.04006, allocations: 12 kB / 369 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.04023, allocations: 91.8 kB / 369.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.04024, allocations: 4 kB / 369.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.04041, allocations: 51.75 kB / 369.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.04044, allocations: 24 kB / 369.2 MB, free: 3.512 MB / 330.7 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.0001723/0.04061, allocations: 218.6 kB / 369.4 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.04067, allocations: 119.3 kB / 369.5 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006388/0.04131, allocations: 462.1 kB / 369.9 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.04131, allocations: 4 kB / 369.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.04132, allocations: 0 / 369.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.04132, allocations: 0 / 369.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.04166, allocations: 487 kB / 370.4 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.04167, allocations: 19.94 kB / 370.4 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.04178, allocations: 47.95 kB / 370.5 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.04178, allocations: 0 / 370.5 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.0418, allocations: 15.98 kB / 370.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.0418, allocations: 7.938 kB / 370.5 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0418, allocations: 0 / 370.5 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.04227, allocations: 443.1 kB / 370.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.0424, allocations: 135.1 kB / 371.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.04246, allocations: 8 kB / 371.1 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.04259, allocations: 31.89 kB / 371.1 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.04266, allocations: 31.91 kB / 371.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.04268, allocations: 15.98 kB / 371.2 MB, free: 1.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004065/0.04309, allocations: 0.584 MB / 371.7 MB, free: 0.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04309, allocations: 4 kB / 371.7 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000347/0.04343, allocations: 219.7 kB / 372 MB, free: 0.6133 MB / 330.7 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.0005498/0.04398, allocations: 0.4921 MB / 372.4 MB, free: 116 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004937/0.04448, allocations: 334.4 kB / 372.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.04448, allocations: 3.859 kB / 372.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.0447, allocations: 176.5 kB / 373 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.04514, allocations: 179.8 kB / 373.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.04649, allocations: 1.462 MB / 374.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.04668, allocations: 366.4 kB / 374.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.04675, allocations: 56.48 kB / 375 MB, free: 13.48 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.04675, allocations: 0 / 375 MB, free: 13.48 MB / 346.7 MB Notification: Performance of Templates: time 0.01077/0.05752, allocations: 12.9 MB / 387.9 MB, free: 0.6133 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 4.919761617667973]