Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008496/0.0008497, allocations: 183.2 kB / 16.71 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 225.7 MB / 243.2 MB, free: 8.504 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006988/0.0006988, allocations: 101.7 kB / 294.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002127/0.0002129, allocations: 4 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1809, allocations: 50.4 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.003174/0.1841, allocations: 4.842 MB / 409.4 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1966, allocations: 19.76 MB / 429.2 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005737/0.1972, allocations: 11.94 kB / 429.2 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.1991, allocations: 0.7826 MB / 430 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003181/0.2022, allocations: 1.306 MB / 431.3 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.2048, allocations: 1.094 MB / 432.4 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.2067, allocations: 1.706 MB / 434.1 MB, free: 1.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.2069, allocations: 153.8 kB / 434.2 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.2072, allocations: 322.3 kB / 434.5 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.2075, allocations: 349.8 kB / 434.9 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.2075, allocations: 20 kB / 434.9 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.21, allocations: 1.314 MB / 436.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.991e-05/0.2101, allocations: 103.2 kB / 436.3 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.2105, allocations: 431.1 kB / 436.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.2124, allocations: 1.549 MB / 438.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2124, allocations: 0 / 438.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2125, allocations: 4 kB / 438.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2125, allocations: 0 / 438.3 MB, free: 13.14 MB / 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.001682/0.2142, allocations: 1.248 MB / 439.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2142, allocations: 8.031 kB / 439.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2143, allocations: 122.5 kB / 439.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008621/0.2152, allocations: 0.7858 MB / 440.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2152, allocations: 20.56 kB / 440.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.2153, allocations: 24 kB / 440.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.216, allocations: 348.7 kB / 440.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.216, allocations: 8 kB / 440.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.216, allocations: 11.98 kB / 440.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2161, allocations: 11.94 kB / 440.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.2169, allocations: 390 kB / 441.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.2186, allocations: 1.245 MB / 442.5 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.2194, allocations: 306.6 kB / 442.8 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.2199, allocations: 257 kB / 443 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006598/0.2265, allocations: 7.755 MB / 450.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.227, allocations: 227.1 kB / 451 MB, free: 15.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.227, allocations: 3.938 kB / 451 MB, free: 15.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001239/0.2282, allocations: 0.5401 MB / 451.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.2283, allocations: 55.41 kB / 451.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.2291, allocations: 0.8746 MB / 452.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2292, allocations: 29.7 kB / 452.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.2295, allocations: 468.3 kB / 453 MB, free: 13.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.2295, allocations: 59.2 kB / 453 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.2296, allocations: 8 kB / 453 MB, free: 13.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.2297, allocations: 325.9 kB / 453.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.23, allocations: 143.9 kB / 453.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.2305, allocations: 277.9 kB / 453.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.2312, allocations: 437.3 kB / 454.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2312, allocations: 4 kB / 454.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009608/0.2322, allocations: 0.5402 MB / 454.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2322, allocations: 8 kB / 454.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.2323, allocations: 20 kB / 454.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2323, allocations: 4 kB / 454.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.2326, allocations: 100.4 kB / 454.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2326, allocations: 7.938 kB / 454.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.233, allocations: 75.48 kB / 454.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.233, allocations: 27.94 kB / 455 MB, free: 11 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 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * 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.0002125/0.2332, allocations: 204.6 kB / 455.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.2333, allocations: 114.7 kB / 455.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.2345, allocations: 0.5073 MB / 455.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2345, allocations: 4 kB / 455.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2346, allocations: 0 / 455.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2346, allocations: 3.938 kB / 455.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.2352, allocations: 0.5671 MB / 456.4 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.2352, allocations: 16 kB / 456.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.2354, allocations: 60 kB / 456.4 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2355, allocations: 0 / 456.4 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.2355, allocations: 15.98 kB / 456.5 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.2355, allocations: 4 kB / 456.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2355, allocations: 0 / 456.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008852/0.2364, allocations: 494.2 kB / 456.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.2366, allocations: 199.7 kB / 457.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.2367, allocations: 4 kB / 457.1 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.237, allocations: 31.97 kB / 457.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.2371, allocations: 31.95 kB / 457.2 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.2371, allocations: 20 kB / 457.2 MB, free: 8.633 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005994/0.2377, allocations: 0.5803 MB / 457.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2377, allocations: 0 / 457.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005378/0.2383, allocations: 215.8 kB / 458 MB, free: 7.836 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.0006153/0.2389, allocations: 495.2 kB / 458.5 MB, free: 7.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008872/0.2398, allocations: 394.3 kB / 458.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2398, allocations: 0 / 458.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.2402, allocations: 205.8 kB / 459.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.241, allocations: 164.4 kB / 459.2 MB, free: 6.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.2431, allocations: 1.76 MB / 461 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.2435, allocations: 0.9605 MB / 462 MB, free: 3.801 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.2438, allocations: 102 kB / 462.1 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.2439, allocations: 51.44 kB / 462.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2439, allocations: 0 / 462.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of Templates: time 0.01767/0.2616, allocations: 12.18 MB / 474.3 MB, free: 7.516 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches