Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 118.7 kB / 17.78 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 203.8 kB / 18.73 MB, free: 4.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 59.91 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2891, allocations: 50.55 MB / 409.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006569/0.2957, allocations: 5.557 MB / 414.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.3184, allocations: 19.44 MB / 434.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009757/0.3194, allocations: 23.81 kB / 434.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.3218, allocations: 0.8353 MB / 435.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005157/0.327, allocations: 1.592 MB / 436.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.3308, allocations: 1.307 MB / 438 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002768/0.3336, allocations: 1.823 MB / 439.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.3339, allocations: 169.2 kB / 440 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.3344, allocations: 354.4 kB / 440.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.3348, allocations: 365.8 kB / 440.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.3348, allocations: 32 kB / 440.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.3383, allocations: 1.444 MB / 442.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.3384, allocations: 115.2 kB / 442.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.3388, allocations: 433.3 kB / 442.7 MB, free: 156 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.341, allocations: 1.612 MB / 444.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.341, allocations: 0 / 444.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.341, allocations: 4 kB / 444.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.341, allocations: 4 kB / 444.3 MB, free: 14.53 MB / 366.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.00193/0.343, allocations: 1.378 MB / 445.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.343, allocations: 8.031 kB / 445.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.3432, allocations: 122.5 kB / 445.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/0.3441, allocations: 0.7782 MB / 446.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3441, allocations: 16.55 kB / 446.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.3442, allocations: 24 kB / 446.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.3449, allocations: 340.7 kB / 447 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3449, allocations: 0 / 447 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.345, allocations: 4 kB / 447 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.345, allocations: 15.94 kB / 447 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.3458, allocations: 342 kB / 447.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.3476, allocations: 1.241 MB / 448.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.3484, allocations: 262.6 kB / 448.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.3489, allocations: 229 kB / 449.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007261/0.3561, allocations: 7.914 MB / 457 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/0.3567, allocations: 217.5 kB / 457.2 MB, free: 380 kB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.3567, allocations: 0 / 457.2 MB, free: 380 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001288/0.358, allocations: 480.2 kB / 457.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.358, allocations: 59.41 kB / 457.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000951/0.359, allocations: 0.8824 MB / 458.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.359, allocations: 29.7 kB / 458.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.3594, allocations: 468.3 kB / 459.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.3595, allocations: 63.11 kB / 459.1 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3596, allocations: 89.28 kB / 459.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3597, allocations: 318 kB / 459.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.3601, allocations: 123.9 kB / 459.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.3605, allocations: 265.9 kB / 459.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.3613, allocations: 390.1 kB / 460.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3613, allocations: 4 kB / 460.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009751/0.3623, allocations: 0.5002 MB / 460.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3623, allocations: 7.984 kB / 460.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/0.3623, allocations: 24 kB / 460.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.3624, allocations: 4 kB / 460.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.3627, allocations: 83.88 kB / 460.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.3627, allocations: 15.88 kB / 460.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.3631, allocations: 55.72 kB / 461 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.3632, allocations: 27.98 kB / 461 MB, free: 12.35 MB / 382.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.0002479/0.3634, allocations: 217.6 kB / 461.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3635, allocations: 106.7 kB / 461.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.3646, allocations: 470.2 kB / 461.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3647, allocations: 3.984 kB / 461.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3647, allocations: 8 kB / 461.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3647, allocations: 3.938 kB / 461.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.3652, allocations: 0.5671 MB / 462.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.381e-05/0.3653, allocations: 16 kB / 462.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.3655, allocations: 43.95 kB / 462.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.3655, allocations: 4 kB / 462.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3655, allocations: 7.984 kB / 462.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3655, allocations: 8.062 kB / 462.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3655, allocations: 0 / 462.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.3664, allocations: 442.5 kB / 462.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.3666, allocations: 199.7 kB / 463.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.3667, allocations: 7.984 kB / 463.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.367, allocations: 31.91 kB / 463.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/0.3671, allocations: 27.97 kB / 463.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.3672, allocations: 15.98 kB / 463.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006085/0.3678, allocations: 0.592 MB / 463.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3678, allocations: 0 / 463.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006366/0.3684, allocations: 219.8 kB / 464 MB, free: 9.27 MB / 382.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.0006904/0.3691, allocations: 479.2 kB / 464.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008704/0.37, allocations: 353.5 kB / 464.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.37, allocations: 0 / 464.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.3705, allocations: 186.5 kB / 465 MB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.3712, allocations: 171.5 kB / 465.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.3734, allocations: 1.451 MB / 466.6 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.3739, allocations: 0.9563 MB / 467.5 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.3742, allocations: 106 kB / 467.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.3743, allocations: 47.44 kB / 467.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3743, allocations: 3.938 kB / 467.7 MB, free: 5.453 MB / 382.1 MB Notification: Performance of Templates: time 0.02023/0.3945, allocations: 12.86 MB / 480.6 MB, free: 8.664 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches