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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001882, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2725, allocations: 50.55 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007306/0.2798, allocations: 5.565 MB / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02686/0.3067, allocations: 19.44 MB / 433.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.3078, allocations: 23.81 kB / 433.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.3105, allocations: 0.8213 MB / 434.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005841/0.3164, allocations: 1.581 MB / 436.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00506/0.3215, allocations: 1.307 MB / 437.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.3249, allocations: 1.812 MB / 439.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.3254, allocations: 177.1 kB / 439.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006467/0.326, allocations: 346.4 kB / 439.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.3266, allocations: 365.8 kB / 440.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.091e-05/0.3267, allocations: 32 kB / 440.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.3307, allocations: 1.44 MB / 441.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.331, allocations: 119.2 kB / 441.8 MB, free: 384 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.3316, allocations: 437.4 kB / 442.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.3353, allocations: 1.607 MB / 443.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.3353, allocations: 8 kB / 443.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3354, allocations: 0 / 443.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.3354, allocations: 0 / 443.8 MB, free: 14.32 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.002517/0.3379, allocations: 1.42 MB / 445.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.338, allocations: 8.031 kB / 445.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.424e-05/0.3381, allocations: 58.55 kB / 445.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.3383, allocations: 135.1 kB / 445.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3395, allocations: 0.7793 MB / 446.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3395, allocations: 16.56 kB / 446.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.3396, allocations: 27.98 kB / 446.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.3404, allocations: 340.7 kB / 446.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3404, allocations: 0 / 446.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.3405, allocations: 8 kB / 446.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.3405, allocations: 11.94 kB / 446.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.3414, allocations: 342 kB / 446.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.3436, allocations: 1.242 MB / 448.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008303/0.3444, allocations: 262.6 kB / 448.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.345, allocations: 240.9 kB / 448.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008732/0.3537, allocations: 7.914 MB / 456.6 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005601/0.3543, allocations: 201.6 kB / 456.8 MB, free: 48 kB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.565e-06/0.3544, allocations: 3.938 kB / 456.8 MB, free: 44 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001454/0.3558, allocations: 0.4888 MB / 457.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.3559, allocations: 59.34 kB / 457.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.357, allocations: 0.8863 MB / 458.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.3571, allocations: 33.7 kB / 458.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.3575, allocations: 472.8 kB / 458.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.3576, allocations: 51.59 kB / 458.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.3577, allocations: 89.38 kB / 458.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3579, allocations: 322 kB / 459.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.3583, allocations: 123.9 kB / 459.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.3588, allocations: 253.9 kB / 459.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008321/0.3596, allocations: 390.3 kB / 459.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.3596, allocations: 4 kB / 459.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001169/0.3608, allocations: 0.5081 MB / 460.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3609, allocations: 8 kB / 460.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/0.3609, allocations: 23.98 kB / 460.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.3609, allocations: 8 kB / 460.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.3613, allocations: 88.31 kB / 460.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3613, allocations: 15.94 kB / 460.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.3618, allocations: 59.7 kB / 460.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.3618, allocations: 16 kB / 460.6 MB, free: 12 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.0003379/0.3622, allocations: 221.6 kB / 460.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.3623, allocations: 111.3 kB / 461 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.3636, allocations: 465.8 kB / 461.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3636, allocations: 4 kB / 461.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3636, allocations: 7.922 kB / 461.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3636, allocations: 0 / 461.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007186/0.3643, allocations: 0.5672 MB / 462 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/0.3644, allocations: 20 kB / 462 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.3646, allocations: 44.02 kB / 462.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.3647, allocations: 4 kB / 462.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.3647, allocations: 15.98 kB / 462.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3647, allocations: 0 / 462.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3647, allocations: 7.875 kB / 462.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009897/0.3657, allocations: 443.2 kB / 462.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.366, allocations: 200.3 kB / 462.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.672e-05/0.3661, allocations: 11.92 kB / 462.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.3664, allocations: 35.91 kB / 462.8 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3665, allocations: 27.97 kB / 462.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.3666, allocations: 19.98 kB / 462.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007459/0.3673, allocations: 0.5881 MB / 463.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3674, allocations: 0 / 463.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007027/0.3681, allocations: 219.7 kB / 463.6 MB, free: 8.902 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.002001/0.3701, allocations: 1.366 MB / 465 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.3712, allocations: 342.4 kB / 465.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3712, allocations: 4 kB / 465.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.3717, allocations: 181.4 kB / 465.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008932/0.3726, allocations: 183.8 kB / 465.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009194/0.3818, allocations: 5.806 MB / 471.5 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.3824, allocations: 0.9563 MB / 472.4 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000332/0.3828, allocations: 102 kB / 472.5 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.3832, allocations: 319.3 kB / 472.8 MB, free: 15.33 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3832, allocations: 0 / 472.8 MB, free: 15.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05732/0.4405, allocations: 22.3 MB / 495.1 MB, free: 9.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.57, allocations: 7.922 kB / 495.1 MB, free: 9.199 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv --start-time 0 --stop-time 1e-07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.0101e-09 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches