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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 112.6 kB / 17.06 MB, free: 6.016 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.001328/0.001328, allocations: 191.9 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 43.94 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2801, allocations: 49.45 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006542/0.2867, allocations: 5.539 MB / 405.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02235/0.3091, allocations: 19.41 MB / 425.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009748/0.3101, allocations: 27.81 kB / 425.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.3127, allocations: 0.8252 MB / 426 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.3182, allocations: 1.604 MB / 427.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006825/0.325, allocations: 1.307 MB / 429 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004745/0.3298, allocations: 1.796 MB / 430.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005575/0.3304, allocations: 181.1 kB / 430.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007605/0.3312, allocations: 346.4 kB / 431.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/0.3318, allocations: 365.8 kB / 431.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.656e-05/0.3319, allocations: 32 kB / 431.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006751/0.3387, allocations: 1.432 MB / 433.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.339, allocations: 123.2 kB / 433.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007727/0.3398, allocations: 429.2 kB / 433.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004954/0.3448, allocations: 1.611 MB / 435.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3448, allocations: 0 / 435.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3448, allocations: 0 / 435.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.135e-05/0.3449, allocations: 4 kB / 435.2 MB, free: 5.66 MB / 350.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.003932/0.3488, allocations: 1.416 MB / 436.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.3489, allocations: 19.89 kB / 436.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.349, allocations: 54.55 kB / 436.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.3493, allocations: 123.2 kB / 436.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.3512, allocations: 0.787 MB / 437.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.3512, allocations: 16.56 kB / 437.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.3513, allocations: 35.92 kB / 437.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.3525, allocations: 336.7 kB / 438 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3525, allocations: 3.938 kB / 438 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.3526, allocations: 8 kB / 438 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.3526, allocations: 11.94 kB / 438 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.3542, allocations: 342 kB / 438.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.357, allocations: 1.234 MB / 439.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.3581, allocations: 266.6 kB / 439.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008375/0.359, allocations: 225 kB / 440.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/0.3726, allocations: 7.763 MB / 447.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008766/0.3736, allocations: 207.2 kB / 448.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 3.597e-06/0.3736, allocations: 0 / 448.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.00245/0.3761, allocations: 0.4888 MB / 448.5 MB, free: 7.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.3762, allocations: 59.34 kB / 448.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.3783, allocations: 0.8786 MB / 449.5 MB, free: 6.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.3784, allocations: 33.7 kB / 449.5 MB, free: 6.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006297/0.379, allocations: 472.7 kB / 450 MB, free: 5.617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3792, allocations: 63.52 kB / 450 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.3794, allocations: 89.59 kB / 450.1 MB, free: 5.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3796, allocations: 318 kB / 450.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/0.3802, allocations: 123.9 kB / 450.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000814/0.381, allocations: 253.9 kB / 450.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3825, allocations: 393.3 kB / 451.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.3825, allocations: 4 kB / 451.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002013/0.3846, allocations: 0.497 MB / 451.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.3846, allocations: 14.5 kB / 451.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-05/0.3847, allocations: 24 kB / 451.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.3847, allocations: 8 kB / 451.7 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.3854, allocations: 79.81 kB / 451.8 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.3854, allocations: 11.94 kB / 451.8 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008468/0.3863, allocations: 67.62 kB / 451.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.3864, allocations: 24 kB / 451.9 MB, free: 3.535 MB / 366.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.0004869/0.3869, allocations: 209.7 kB / 452.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.3871, allocations: 111.3 kB / 452.2 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.3892, allocations: 478.2 kB / 452.7 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.3893, allocations: 4 kB / 452.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3893, allocations: 3.938 kB / 452.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3893, allocations: 0 / 452.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3904, allocations: 0.5672 MB / 453.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-05/0.3905, allocations: 20 kB / 453.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.3909, allocations: 39.95 kB / 453.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.3909, allocations: 4 kB / 453.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.391, allocations: 15.98 kB / 453.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.391, allocations: 0 / 453.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.391, allocations: 11.94 kB / 453.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.3927, allocations: 443.3 kB / 453.8 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/0.3932, allocations: 204.2 kB / 454 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.3934, allocations: 7.984 kB / 454 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.394, allocations: 23.97 kB / 454 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.3942, allocations: 31.97 kB / 454.1 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.3943, allocations: 15.98 kB / 454.1 MB, free: 1.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001393/0.3957, allocations: 0.592 MB / 454.7 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3957, allocations: 0 / 454.7 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001162/0.3969, allocations: 219.7 kB / 454.9 MB, free: 456 kB / 366.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.003009/0.3999, allocations: 1.366 MB / 456.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.4015, allocations: 345.4 kB / 456.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4016, allocations: 0 / 456.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007198/0.4023, allocations: 194.6 kB / 456.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.4036, allocations: 168.4 kB / 456.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.4185, allocations: 5.821 MB / 462.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/0.4194, allocations: 0.9563 MB / 463.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005874/0.4201, allocations: 106 kB / 463.8 MB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.4207, allocations: 319.3 kB / 464.1 MB, free: 6.859 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4207, allocations: 0 / 464.1 MB, free: 6.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06959/0.4903, allocations: 22.23 MB / 486.4 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.661/10.15, allocations: 14.91 kB / 486.4 MB, free: 0.8555 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv","/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