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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,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=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 102.9 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 56.14 kB / 280.6 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.08532, allocations: 46.64 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006319/0.09167, allocations: 5.399 MB / 332.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0201/0.1118, allocations: 18.5 MB / 351.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007653/0.1126, allocations: 7.938 kB / 351.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.1148, allocations: 0.7952 MB / 352 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.1189, allocations: 1.561 MB / 353.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.1224, allocations: 1.268 MB / 354.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.1252, allocations: 1.753 MB / 356.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.1255, allocations: 169.2 kB / 356.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.1259, allocations: 318.5 kB / 357 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.1262, allocations: 357.9 kB / 357.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.1263, allocations: 35.94 kB / 357.4 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.1295, allocations: 1.116 MB / 358.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1297, allocations: 115.3 kB / 358.7 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.1301, allocations: 437.3 kB / 359.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.1327, allocations: 1.612 MB / 360.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1327, allocations: 0 / 360.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1328, allocations: 0 / 360.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1328, allocations: 0 / 360.7 MB, free: 2.906 MB / 302.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.002239/0.135, allocations: 1.39 MB / 362.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1351, allocations: 15.89 kB / 362.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.1352, allocations: 114.6 kB / 362.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009398/0.1362, allocations: 0.7898 MB / 363 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1362, allocations: 16.56 kB / 363 MB, free: 480 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.1363, allocations: 31.92 kB / 363 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1373, allocations: 332.7 kB / 363.4 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1373, allocations: 0 / 363.4 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.1374, allocations: 8 kB / 363.4 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.1374, allocations: 12 kB / 363.4 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.1388, allocations: 346 kB / 363.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.1411, allocations: 1.242 MB / 365 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.1419, allocations: 262.6 kB / 365.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.1425, allocations: 233 kB / 365.5 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007477/0.1499, allocations: 7.779 MB / 373.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/0.1505, allocations: 211 kB / 373.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.495e-06/0.1505, allocations: 0 / 373.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001367/0.1519, allocations: 484.8 kB / 373.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.152, allocations: 63.39 kB / 374 MB, free: 4.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.153, allocations: 0.8867 MB / 374.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.153, allocations: 33.7 kB / 374.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.1534, allocations: 468.3 kB / 375.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.1535, allocations: 63.12 kB / 375.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1536, allocations: 85.5 kB / 375.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1537, allocations: 322 kB / 375.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.1541, allocations: 127.8 kB / 375.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.1546, allocations: 261.7 kB / 376.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008225/0.1554, allocations: 389.5 kB / 376.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.1555, allocations: 4 kB / 376.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001079/0.1565, allocations: 0.496 MB / 377.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1566, allocations: 11.94 kB / 377.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.1566, allocations: 23.98 kB / 377.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.1566, allocations: 8 kB / 377.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.157, allocations: 80.41 kB / 377.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.157, allocations: 19.92 kB / 377.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.1574, allocations: 51.66 kB / 377.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.1575, allocations: 20 kB / 377.3 MB, free: 0.8555 MB / 318.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.0002715/0.1578, allocations: 205.8 kB / 377.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.1579, allocations: 118.5 kB / 377.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.1592, allocations: 483.6 kB / 378.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1592, allocations: 0 / 378.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1592, allocations: 0 / 378.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1592, allocations: 0 / 378.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1415/0.3008, allocations: 0.5663 MB / 378.6 MB, free: 56.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/0.3008, allocations: 20.47 kB / 378.7 MB, free: 56.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.3011, allocations: 44.64 kB / 378.7 MB, free: 56.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.3012, allocations: 3.75 kB / 378.7 MB, free: 56.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.3012, allocations: 13.97 kB / 378.7 MB, free: 56.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3012, allocations: 2.984 kB / 378.7 MB, free: 56.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3012, allocations: 0.9062 kB / 378.7 MB, free: 56.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.3023, allocations: 442.6 kB / 379.2 MB, free: 56.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.3026, allocations: 199.9 kB / 379.3 MB, free: 56.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.3027, allocations: 7.453 kB / 379.4 MB, free: 56.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.3031, allocations: 26.31 kB / 379.4 MB, free: 56.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3032, allocations: 36.81 kB / 379.4 MB, free: 56.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.3032, allocations: 12.55 kB / 379.4 MB, free: 56.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009173/0.3042, allocations: 0.594 MB / 380 MB, free: 56.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3042, allocations: 0 / 380 MB, free: 56.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008393/0.305, allocations: 223.6 kB / 380.2 MB, free: 56.27 MB / 318.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.000699/0.3057, allocations: 480.5 kB / 380.7 MB, free: 56.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009604/0.3067, allocations: 356.1 kB / 381.1 MB, free: 56.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3067, allocations: 3.281 kB / 381.1 MB, free: 56.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004501/0.3072, allocations: 180.9 kB / 381.2 MB, free: 56.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.3078, allocations: 155.2 kB / 381.4 MB, free: 56.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3101, allocations: 1.47 MB / 382.9 MB, free: 55.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.3105, allocations: 0.9592 MB / 383.8 MB, free: 54.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003705/0.3109, allocations: 99.95 kB / 383.9 MB, free: 54.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.311, allocations: 56.84 kB / 384 MB, free: 54.64 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.311, allocations: 4.812 kB / 384 MB, free: 54.64 MB / 318.1 MB Notification: Performance of Templates: time 0.02022/0.3312, allocations: 12.85 MB / 396.8 MB, free: 48.63 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches