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.001255/0.001255, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001202/0.001203, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.384/1.384, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.002299/0.0023, allocations: 51.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08676/0.08907, allocations: 46.63 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.1681/0.2572, allocations: 5.386 MB / 380 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01634/0.2736, allocations: 18.5 MB / 398.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009552/0.2746, allocations: 24.69 kB / 398.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003258/0.2779, allocations: 0.8005 MB / 399.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007425/0.2853, allocations: 1.559 MB / 400.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.2908, allocations: 1.271 MB / 402.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003435/0.2942, allocations: 1.748 MB / 403.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.2946, allocations: 176.4 kB / 404.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.2952, allocations: 325.9 kB / 404.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.2957, allocations: 357.4 kB / 404.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.297e-05/0.2958, allocations: 33.09 kB / 404.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.2999, allocations: 1.124 MB / 405.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.3002, allocations: 115.9 kB / 406 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006265/0.3008, allocations: 433.2 kB / 406.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.305, allocations: 1.63 MB / 408.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.305, allocations: 0 / 408.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.305, allocations: 4 kB / 408.1 MB, free: 9.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.3051, allocations: 1.188 kB / 408.1 MB, free: 9.668 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.002462/0.3075, allocations: 1.426 MB / 409.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3076, allocations: 9.531 kB / 409.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.855e-05/0.3077, allocations: 61.12 kB / 409.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.3079, allocations: 121.3 kB / 409.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.309, allocations: 0.7873 MB / 410.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.309, allocations: 20.36 kB / 410.5 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.3091, allocations: 35.48 kB / 410.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.3099, allocations: 330.6 kB / 410.9 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.31, allocations: 1.312 kB / 410.9 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.31, allocations: 9.312 kB / 410.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.31, allocations: 10.55 kB / 410.9 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009362/0.311, allocations: 340.5 kB / 411.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.3131, allocations: 1.233 MB / 412.5 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008255/0.3139, allocations: 268.2 kB / 412.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.3145, allocations: 240.8 kB / 413 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008916/0.3234, allocations: 7.783 MB / 420.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005497/0.324, allocations: 222.6 kB / 421 MB, free: 15.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.124e-06/0.324, allocations: 2.594 kB / 421 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001423/0.3254, allocations: 490.2 kB / 421.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.3255, allocations: 58.78 kB / 421.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3266, allocations: 0.8876 MB / 422.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.3267, allocations: 31.27 kB / 422.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.3272, allocations: 478.2 kB / 422.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.3272, allocations: 51.84 kB / 422.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3274, allocations: 86.72 kB / 423 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3275, allocations: 320.7 kB / 423.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.3279, allocations: 123.2 kB / 423.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.3284, allocations: 266.7 kB / 423.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008548/0.3293, allocations: 394.4 kB / 424.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3293, allocations: 1.5 kB / 424.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001161/0.3305, allocations: 0.5109 MB / 424.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3305, allocations: 11.94 kB / 424.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/0.3305, allocations: 20.81 kB / 424.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.3306, allocations: 11.98 kB / 424.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.331, allocations: 80.38 kB / 424.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.331, allocations: 15.94 kB / 424.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.3314, allocations: 51.75 kB / 424.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.3315, allocations: 20 kB / 424.8 MB, free: 12.25 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.0002913/0.3318, allocations: 221.6 kB / 425 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.3319, allocations: 119.2 kB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.3332, allocations: 463.6 kB / 425.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3332, allocations: 2.062 kB / 425.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3332, allocations: 0 / 425.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.3332, allocations: 3.984 kB / 425.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.334, allocations: 0.5712 MB / 426.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/0.334, allocations: 19.94 kB / 426.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.3342, allocations: 47.95 kB / 426.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3343, allocations: 0 / 426.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.3343, allocations: 15.98 kB / 426.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3343, allocations: 4 kB / 426.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3343, allocations: 0 / 426.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3353, allocations: 451.1 kB / 426.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.3356, allocations: 208.2 kB / 426.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.432e-05/0.3357, allocations: 3.984 kB / 426.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.336, allocations: 31.97 kB / 427 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/0.3361, allocations: 31.91 kB / 427 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.3362, allocations: 20.55 kB / 427 MB, free: 9.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007266/0.3369, allocations: 0.5883 MB / 427.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3369, allocations: 0 / 427.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007024/0.3376, allocations: 223.7 kB / 427.8 MB, free: 9.133 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.002056/0.3397, allocations: 1.358 MB / 429.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009658/0.3407, allocations: 351 kB / 429.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3407, allocations: 0 / 429.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004722/0.3412, allocations: 185.5 kB / 429.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.3418, allocations: 146.3 kB / 429.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008885/0.3507, allocations: 5.84 MB / 435.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.3513, allocations: 0.9603 MB / 436.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.3516, allocations: 98.06 kB / 436.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.352, allocations: 323.3 kB / 437 MB, free: 15.57 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.352, allocations: 0 / 437 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05056/0.4026, allocations: 22.36 MB / 459.4 MB, free: 9.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.85, allocations: 8.609 kB / 459.4 MB, free: 9.121 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