Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001694, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.001887/0.001887, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.026/2.026, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 51.98 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.146, allocations: 49.45 MB / 350.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007152/0.1532, allocations: 5.535 MB / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2991/0.4523, allocations: 19.6 MB / 375.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.4537, allocations: 9.688 kB / 375.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004082/0.4579, allocations: 0.7622 MB / 376 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008967/0.4669, allocations: 1.306 MB / 377.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008675/0.4756, allocations: 1.09 MB / 378.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006017/0.4817, allocations: 1.751 MB / 380.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.4823, allocations: 163.1 kB / 380.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.4834, allocations: 342.9 kB / 380.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006839/0.4841, allocations: 355.4 kB / 380.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.4843, allocations: 21.97 kB / 381 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008569/0.4928, allocations: 1.43 MB / 382.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.4933, allocations: 107.4 kB / 382.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009781/0.4943, allocations: 416.5 kB / 382.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.4973, allocations: 1.137 MB / 384 MB, free: 7.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4973, allocations: 0.6562 kB / 384 MB, free: 7.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4973, allocations: 5.094 kB / 384.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.61e-05/0.4974, allocations: 0 / 384.1 MB, free: 7.809 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.004323/0.5017, allocations: 1.378 MB / 385.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.5018, allocations: 9.281 kB / 385.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.5021, allocations: 116.7 kB / 385.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.504, allocations: 0.7902 MB / 386.3 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.5041, allocations: 17.81 kB / 386.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.5042, allocations: 28.09 kB / 386.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.5056, allocations: 337.8 kB / 386.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.5056, allocations: 0 / 386.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.06e-05/0.5057, allocations: 11.44 kB / 386.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.5057, allocations: 6.625 kB / 386.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.5073, allocations: 354.8 kB / 387.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/0.5111, allocations: 1.238 MB / 388.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.5125, allocations: 264.8 kB / 388.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008463/0.5134, allocations: 229.5 kB / 388.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01405/0.5275, allocations: 7.762 MB / 396.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009374/0.5285, allocations: 208.6 kB / 396.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 4.859e-06/0.5285, allocations: 0 / 396.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.002731/0.5312, allocations: 487 kB / 397.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.5314, allocations: 62.09 kB / 397.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.5343, allocations: 0.878 MB / 398.2 MB, free: 13.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.5344, allocations: 31.08 kB / 398.2 MB, free: 13.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007752/0.5352, allocations: 463.7 kB / 398.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.5354, allocations: 71.59 kB / 398.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.5357, allocations: 82.59 kB / 398.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5359, allocations: 316.8 kB / 399.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000743/0.5367, allocations: 119.2 kB / 399.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009215/0.5376, allocations: 266.4 kB / 399.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.5393, allocations: 399 kB / 399.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.5393, allocations: 0 / 399.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002307/0.5416, allocations: 0.5001 MB / 400.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.5417, allocations: 7.031 kB / 400.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.679e-05/0.5417, allocations: 21.56 kB / 400.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.558e-05/0.5418, allocations: 6.938 kB / 400.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.5424, allocations: 87.98 kB / 400.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.5424, allocations: 11.06 kB / 400.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5436, allocations: 49.06 kB / 400.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/0.5438, allocations: 26.31 kB / 400.6 MB, free: 12.12 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.0006522/0.5444, allocations: 207.8 kB / 400.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004471/0.5449, allocations: 112.2 kB / 400.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.5473, allocations: 468.6 kB / 401.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5473, allocations: 2.844 kB / 401.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5473, allocations: 0.625 kB / 401.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.5473, allocations: 0 / 401.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.5489, allocations: 0.5781 MB / 402 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.676e-05/0.549, allocations: 21.05 kB / 402 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.5494, allocations: 48.27 kB / 402 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.046e-06/0.5494, allocations: 0 / 402 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.5494, allocations: 9.625 kB / 402 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5494, allocations: 0 / 402 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5495, allocations: 3.938 kB / 402 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.5506, allocations: 446.7 kB / 402.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.5511, allocations: 200.3 kB / 402.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.5514, allocations: 11.72 kB / 402.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.5518, allocations: 30.14 kB / 402.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.552, allocations: 27.75 kB / 402.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.552, allocations: 18.92 kB / 402.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009621/0.553, allocations: 0.5877 MB / 403.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.553, allocations: 4 kB / 403.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001044/0.554, allocations: 217.1 kB / 403.6 MB, free: 10.29 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.001106/0.5552, allocations: 494.4 kB / 404 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.5562, allocations: 346.4 kB / 404.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5562, allocations: 0 / 404.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.5567, allocations: 177.5 kB / 404.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5578, allocations: 167.2 kB / 404.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.5612, allocations: 1.748 MB / 406.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.5618, allocations: 0.9605 MB / 407.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.562, allocations: 51.44 kB / 407.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.562, allocations: 0 / 407.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of Templates: time 0.02198/0.584, allocations: 12.32 MB / 419.8 MB, free: 10.25 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches