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.00176/0.00176, allocations: 116.7 kB / 17.74 MB, free: 5.312 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.001803/0.001803, allocations: 186.9 kB / 20.68 MB, free: 2.383 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.483/1.483, allocations: 222.9 MB / 246.4 MB, free: 4.188 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.001655/0.001655, allocations: 43.92 kB / 357.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09637, allocations: 49.44 MB / 406.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007094/0.1035, allocations: 5.546 MB / 412.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.2509/0.3545, allocations: 19.41 MB / 431.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009911/0.3555, allocations: 25.75 kB / 431.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.358, allocations: 0.8157 MB / 432.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.363, allocations: 1.585 MB / 434.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.3677, allocations: 1.307 MB / 435.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003474/0.3712, allocations: 1.791 MB / 437.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.3715, allocations: 175.2 kB / 437.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006148/0.3722, allocations: 355.5 kB / 437.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.3726, allocations: 360.5 kB / 438.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.3727, allocations: 36.28 kB / 438.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.3771, allocations: 1.436 MB / 439.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.3775, allocations: 116.4 kB / 439.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007184/0.3782, allocations: 429.2 kB / 440.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004977/0.3832, allocations: 1.616 MB / 441.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.3832, allocations: 0 / 441.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3832, allocations: 0 / 441.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.1e-05/0.3833, allocations: 0 / 441.9 MB, free: 2.141 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.002631/0.3859, allocations: 1.418 MB / 443.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.386, allocations: 14.06 kB / 443.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.495e-05/0.386, allocations: 59.39 kB / 443.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.3862, allocations: 123.7 kB / 443.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009328/0.3871, allocations: 0.7886 MB / 444.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.3872, allocations: 17.45 kB / 444.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.3872, allocations: 23.56 kB / 444.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.388, allocations: 339.6 kB / 444.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.388, allocations: 1.234 kB / 444.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.3881, allocations: 9.859 kB / 444.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3881, allocations: 6.344 kB / 444.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.389, allocations: 346.3 kB / 445 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3909, allocations: 1.245 MB / 446.3 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.3917, allocations: 263.1 kB / 446.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.3922, allocations: 229 kB / 446.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008878/0.4011, allocations: 7.765 MB / 454.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.4017, allocations: 210 kB / 454.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.4017, allocations: 0 / 454.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001464/0.4032, allocations: 495.9 kB / 455.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.4033, allocations: 57.39 kB / 455.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.4043, allocations: 0.881 MB / 456.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.4044, allocations: 31.33 kB / 456.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.4047, allocations: 469.9 kB / 456.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.4048, allocations: 64.33 kB / 456.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.4049, allocations: 83.62 kB / 456.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.405, allocations: 320.6 kB / 457.1 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.4054, allocations: 117 kB / 457.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.4059, allocations: 270.9 kB / 457.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.4068, allocations: 397.5 kB / 457.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4068, allocations: 2.406 kB / 457.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001082/0.4079, allocations: 0.5 MB / 458.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4079, allocations: 6.438 kB / 458.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/0.4079, allocations: 28.72 kB / 458.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.408, allocations: 8.281 kB / 458.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.4083, allocations: 82.41 kB / 458.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.4083, allocations: 11.56 kB / 458.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.4088, allocations: 58.69 kB / 458.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.4088, allocations: 22.48 kB / 458.6 MB, free: 9.215 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.0003678/0.4092, allocations: 211.2 kB / 458.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4093, allocations: 112.4 kB / 458.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.4106, allocations: 481.3 kB / 459.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4106, allocations: 2.938 kB / 459.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4106, allocations: 0 / 459.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4106, allocations: 0 / 459.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.4113, allocations: 0.5704 MB / 459.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/0.4114, allocations: 21.09 kB / 459.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.4116, allocations: 43.77 kB / 460 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.4116, allocations: 5.078 kB / 460 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.4117, allocations: 11.28 kB / 460 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4117, allocations: 1.188 kB / 460 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4117, allocations: 1.062 kB / 460 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009882/0.4127, allocations: 450.6 kB / 460.4 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.413, allocations: 210.2 kB / 460.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4131, allocations: 10 kB / 460.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.4134, allocations: 28.77 kB / 460.7 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.4135, allocations: 30.34 kB / 460.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.4135, allocations: 10.31 kB / 460.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006282/0.4142, allocations: 0.5934 MB / 461.3 MB, free: 7.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4142, allocations: 4 kB / 461.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006453/0.4148, allocations: 222.6 kB / 461.5 MB, free: 7.867 MB / 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.001902/0.4167, allocations: 1.356 MB / 462.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.4178, allocations: 346.8 kB / 463.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4178, allocations: 1.188 kB / 463.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.4183, allocations: 189.4 kB / 463.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.4191, allocations: 173.7 kB / 463.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00845/0.4276, allocations: 5.823 MB / 469.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/0.4283, allocations: 0.9556 MB / 470.4 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003631/0.4286, allocations: 100.9 kB / 470.5 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.429, allocations: 323.3 kB / 470.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of SimCode: time 1.233e-06/0.429, allocations: 0 / 470.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05162/0.4807, allocations: 22.24 MB / 493 MB, free: 12.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.63, allocations: 16.53 kB / 493 MB, free: 12.54 MB / 398.1 MB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.088723520981148]