Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_3_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.001168/0.001168, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001217/0.001217, allocations: 183.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 55.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.09444, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2124/0.3069, allocations: 5.389 MB / 380 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01827/0.3252, allocations: 18.5 MB / 398.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009107/0.3262, allocations: 26.22 kB / 398.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.3291, allocations: 0.8071 MB / 399.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006885/0.336, allocations: 1.578 MB / 400.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005418/0.3415, allocations: 1.264 MB / 402.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003795/0.3453, allocations: 1.751 MB / 404 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.3457, allocations: 178.5 kB / 404.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.3463, allocations: 334.6 kB / 404.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.3468, allocations: 355.5 kB / 404.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.142e-05/0.3469, allocations: 32.25 kB / 404.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004617/0.3515, allocations: 1.116 MB / 406 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.3517, allocations: 124.2 kB / 406.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005837/0.3523, allocations: 428.3 kB / 406.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.3563, allocations: 1.631 MB / 408.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3563, allocations: 0 / 408.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3563, allocations: 5.516 kB / 408.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.3564, allocations: 0 / 408.1 MB, free: 9.652 MB / 334.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.002681/0.359, allocations: 1.421 MB / 409.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.3591, allocations: 10.86 kB / 409.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.461e-05/0.3592, allocations: 61.8 kB / 409.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.3594, allocations: 124.9 kB / 409.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.3607, allocations: 0.7876 MB / 410.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.3607, allocations: 18.44 kB / 410.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.3608, allocations: 31.55 kB / 410.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.3616, allocations: 334.4 kB / 410.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3616, allocations: 0 / 410.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.3616, allocations: 10.19 kB / 410.9 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3616, allocations: 14.44 kB / 410.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008988/0.3626, allocations: 344.6 kB / 411.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.3646, allocations: 1.233 MB / 412.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.3655, allocations: 263.6 kB / 412.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/0.366, allocations: 236.8 kB / 413 MB, free: 6.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008932/0.3749, allocations: 7.787 MB / 420.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000554/0.3755, allocations: 217 kB / 421 MB, free: 15.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.076e-06/0.3756, allocations: 6.938 kB / 421 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001493/0.3771, allocations: 493.8 kB / 421.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3771, allocations: 55.03 kB / 421.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.3785, allocations: 0.8876 MB / 422.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.3786, allocations: 32.33 kB / 422.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.379, allocations: 469 kB / 422.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.3791, allocations: 59.81 kB / 423 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.3793, allocations: 86.67 kB / 423.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3795, allocations: 320.7 kB / 423.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.3799, allocations: 127.2 kB / 423.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.3804, allocations: 258.8 kB / 423.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.3812, allocations: 406.4 kB / 424.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3812, allocations: 0.875 kB / 424.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001219/0.3825, allocations: 0.5026 MB / 424.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3825, allocations: 8 kB / 424.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/0.3826, allocations: 20 kB / 424.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.3826, allocations: 8.562 kB / 424.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.3829, allocations: 87.88 kB / 424.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.383, allocations: 11.94 kB / 424.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.3835, allocations: 55.73 kB / 424.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.3836, allocations: 23.94 kB / 424.9 MB, free: 12.21 MB / 350.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.0003215/0.3839, allocations: 213.7 kB / 425.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.3841, allocations: 126.1 kB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.3853, allocations: 465.9 kB / 425.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3854, allocations: 4 kB / 425.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3854, allocations: 0 / 425.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3854, allocations: 0 / 425.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/0.3861, allocations: 0.5712 MB / 426.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/0.3862, allocations: 16 kB / 426.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.3864, allocations: 47.88 kB / 426.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3864, allocations: 4 kB / 426.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3864, allocations: 12 kB / 426.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3865, allocations: 0 / 426.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3865, allocations: 0 / 426.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009604/0.3874, allocations: 459.1 kB / 426.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.3878, allocations: 208.3 kB / 426.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.3879, allocations: 8 kB / 427 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.3883, allocations: 23.95 kB / 427 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3884, allocations: 35.91 kB / 427 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.3884, allocations: 12 kB / 427 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007667/0.3892, allocations: 0.5922 MB / 427.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3892, allocations: 4 kB / 427.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000849/0.39, allocations: 219.7 kB / 427.8 MB, free: 9.098 MB / 350.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.002357/0.3924, allocations: 1.369 MB / 429.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3934, allocations: 342.9 kB / 429.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3935, allocations: 0 / 429.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.3939, allocations: 181.9 kB / 429.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.3947, allocations: 149.9 kB / 429.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00985/0.4045, allocations: 5.836 MB / 435.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.4052, allocations: 0.9564 MB / 436.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004008/0.4057, allocations: 102.1 kB / 436.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.4061, allocations: 323.2 kB / 437.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4061, allocations: 4 kB / 437.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0502/0.4563, allocations: 22.36 MB / 459.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.569/10.03, allocations: 4.734 kB / 459.4 MB, free: 9.086 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches