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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 55.91 kB / 365.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1033, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007218/0.1105, allocations: 5.577 MB / 423.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02237/0.1328, allocations: 19.47 MB / 442.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008476/0.1337, allocations: 35.62 kB / 442.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.136, allocations: 0.834 MB / 443.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.1408, allocations: 1.604 MB / 445.3 MB, free: 1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2181/0.3589, allocations: 1.297 MB / 446.6 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.3617, allocations: 1.8 MB / 448.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.3619, allocations: 108.4 kB / 448.5 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004364/0.3623, allocations: 369.7 kB / 448.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.3627, allocations: 361.4 kB / 449.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.3628, allocations: 34.09 kB / 449.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.3662, allocations: 1.444 MB / 450.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3663, allocations: 112.3 kB / 450.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.3667, allocations: 430.4 kB / 451.2 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.3702, allocations: 1.61 MB / 452.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.3702, allocations: 6.719 kB / 452.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3702, allocations: 0 / 452.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.065e-05/0.3702, allocations: 0.5 kB / 452.8 MB, free: 9.012 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.003287/0.3735, allocations: 1.414 MB / 454.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3736, allocations: 10.66 kB / 454.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.079e-05/0.3737, allocations: 61.77 kB / 454.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.3738, allocations: 123.9 kB / 454.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3749, allocations: 0.7907 MB / 455.2 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.3749, allocations: 20.97 kB / 455.2 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.3749, allocations: 23.2 kB / 455.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.3757, allocations: 336.8 kB / 455.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3758, allocations: 0 / 455.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.3758, allocations: 13.02 kB / 455.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3758, allocations: 7.188 kB / 455.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009514/0.3768, allocations: 345 kB / 456 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.3789, allocations: 1.237 MB / 457.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.3798, allocations: 249.4 kB / 457.4 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.3803, allocations: 209.1 kB / 457.6 MB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007877/0.3882, allocations: 7.766 MB / 465.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000594/0.3888, allocations: 204.9 kB / 465.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.735e-06/0.3888, allocations: 0 / 465.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001495/0.3903, allocations: 493.2 kB / 466.1 MB, free: 1.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3903, allocations: 60.44 kB / 466.1 MB, free: 1.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.3915, allocations: 0.8783 MB / 467 MB, free: 17.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.3916, allocations: 32.67 kB / 467.1 MB, free: 17.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.3919, allocations: 475.4 kB / 467.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.392, allocations: 69.58 kB / 467.6 MB, free: 17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3921, allocations: 79.11 kB / 467.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3922, allocations: 321.1 kB / 468 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.3926, allocations: 118.4 kB / 468.1 MB, free: 16.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.3931, allocations: 268.7 kB / 468.4 MB, free: 16.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008199/0.3939, allocations: 389.1 kB / 468.7 MB, free: 16.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3939, allocations: 0.9375 kB / 468.7 MB, free: 16.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00114/0.395, allocations: 0.512 MB / 469.2 MB, free: 16.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3951, allocations: 8.312 kB / 469.3 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.175e-05/0.3951, allocations: 19.94 kB / 469.3 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.3951, allocations: 7.094 kB / 469.3 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.3955, allocations: 81.52 kB / 469.4 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.3955, allocations: 10.44 kB / 469.4 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.3959, allocations: 61.33 kB / 469.4 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.396, allocations: 22.94 kB / 469.5 MB, free: 16.19 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.0002631/0.3962, allocations: 207.5 kB / 469.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3964, allocations: 113.5 kB / 469.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.3976, allocations: 476.3 kB / 470.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3976, allocations: 6.125 kB / 470.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3976, allocations: 1.375 kB / 470.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3976, allocations: 3.797 kB / 470.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006287/0.3982, allocations: 0.5761 MB / 470.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/0.3983, allocations: 17.19 kB / 470.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.3985, allocations: 41.97 kB / 470.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3985, allocations: 1.562 kB / 470.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.3985, allocations: 19.91 kB / 470.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3985, allocations: 2.266 kB / 470.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3985, allocations: 1.094 kB / 470.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.3995, allocations: 446 kB / 471.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.3997, allocations: 206.2 kB / 471.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/0.3998, allocations: 9.188 kB / 471.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.4001, allocations: 29.42 kB / 471.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.4002, allocations: 31.8 kB / 471.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.4002, allocations: 14.66 kB / 471.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006221/0.4009, allocations: 0.5898 MB / 472.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4009, allocations: 0 / 472.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007443/0.4016, allocations: 225.8 kB / 472.4 MB, free: 14.99 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.002036/0.4036, allocations: 1.354 MB / 473.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009956/0.4046, allocations: 342.5 kB / 474.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4046, allocations: 0 / 474.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.4051, allocations: 173.7 kB / 474.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008863/0.406, allocations: 180.4 kB / 474.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008984/0.415, allocations: 5.818 MB / 480.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.4155, allocations: 0.9564 MB / 481.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000339/0.4159, allocations: 103.6 kB / 481.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/0.4162, allocations: 321 kB / 481.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4162, allocations: 3.938 kB / 481.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05488/0.4711, allocations: 22.33 MB / 0.4922 GB, free: 7.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.942/10.41, allocations: 8.5 kB / 0.4922 GB, free: 7.535 MB / 398.1 MB " [Timeout remaining time 650] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable VGS.p.v in file Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable VGS.p.v from file Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! Error: Could not read variable M1.D.i in file Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable M1.D.i from file Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.93242434412241]