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.0009031/0.0009031, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007725/0.0007725, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9042/0.9042, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.082e-06/1.082e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.596e-06/9.678e-06, allocations: 2.281 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.003663/0.003672, allocations: 4.889 MB / 323.3 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.01636, allocations: 16.59 MB / 339.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005583/0.01692, allocations: 39.62 kB / 339.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.01844, allocations: 0.741 MB / 340.7 MB, free: 0 / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.02128, allocations: 1.637 MB / 342.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.024, allocations: 1.316 MB / 343.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.02591, allocations: 1.851 MB / 345.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.02608, allocations: 109.6 kB / 345.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.02647, allocations: 0.4909 MB / 346.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.02671, allocations: 263.1 kB / 346.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003413/0.02705, allocations: 32 kB / 346.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.02871, allocations: 1.17 MB / 347.5 MB, free: 9.094 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.02878, allocations: 123.2 kB / 347.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.02894, allocations: 239.3 kB / 347.9 MB, free: 8.738 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.03032, allocations: 1.682 MB / 349.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.03033, allocations: 0 / 349.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.03033, allocations: 0 / 349.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.03034, allocations: 0 / 349.6 MB, free: 7.051 MB / 314.7 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.001249/0.03159, allocations: 1.325 MB / 350.9 MB, free: 5.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.03162, allocations: 16.91 kB / 350.9 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.03168, allocations: 58.55 kB / 351 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.03177, allocations: 131.1 kB / 351.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.03243, allocations: 0.7032 MB / 351.8 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.03245, allocations: 20.5 kB / 351.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.0325, allocations: 23.98 kB / 351.8 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.0331, allocations: 336.8 kB / 352.2 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.03311, allocations: 0 / 352.2 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.03315, allocations: 12 kB / 352.2 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.0333, allocations: 8 kB / 352.2 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.03381, allocations: 341.9 kB / 352.5 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.03523, allocations: 1.112 MB / 353.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.03568, allocations: 254.6 kB / 353.9 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.03597, allocations: 216.9 kB / 354.1 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003865/0.03983, allocations: 3.606 MB / 357.7 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.04015, allocations: 211.1 kB / 357.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.04015, allocations: 0 / 357.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007445/0.0409, allocations: 484.7 kB / 358.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.04093, allocations: 63.38 kB / 358.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006516/0.04158, allocations: 0.8902 MB / 359.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.04161, allocations: 33.7 kB / 359.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.04186, allocations: 468.7 kB / 359.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.04189, allocations: 51.59 kB / 359.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.04197, allocations: 85.59 kB / 360 MB, free: 12.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.04205, allocations: 325.9 kB / 360.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.04226, allocations: 127.8 kB / 360.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.04275, allocations: 261.8 kB / 360.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.0432, allocations: 404.7 kB / 361.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.0432, allocations: 0 / 361.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005755/0.04378, allocations: 0.4965 MB / 361.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.0438, allocations: 8 kB / 361.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.04382, allocations: 20 kB / 361.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.04383, allocations: 12.5 kB / 361.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.04401, allocations: 87.88 kB / 361.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.04402, allocations: 11.94 kB / 361.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.04421, allocations: 59.69 kB / 361.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.04424, allocations: 20 kB / 361.8 MB, free: 10.37 MB / 330.7 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.0001817/0.04442, allocations: 209.7 kB / 362 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.04449, allocations: 119.3 kB / 362.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006692/0.04516, allocations: 470 kB / 362.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.04516, allocations: 4 kB / 362.6 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.04516, allocations: 0 / 362.6 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.04517, allocations: 0 / 362.6 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.04552, allocations: 0.5156 MB / 363.1 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.04554, allocations: 20 kB / 363.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.04565, allocations: 47.95 kB / 363.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.04565, allocations: 0 / 363.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.04567, allocations: 12 kB / 363.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.04567, allocations: 4 kB / 363.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.04567, allocations: 0 / 363.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.04618, allocations: 446.1 kB / 363.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.04632, allocations: 143 kB / 363.7 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.04637, allocations: 3.984 kB / 363.7 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.04652, allocations: 27.97 kB / 363.8 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.04658, allocations: 27.95 kB / 363.8 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.0466, allocations: 16 kB / 363.8 MB, free: 8.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004325/0.04704, allocations: 0.592 MB / 364.4 MB, free: 7.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04704, allocations: 4 kB / 364.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.0474, allocations: 219.7 kB / 364.6 MB, free: 7.43 MB / 330.7 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.001075/0.04848, allocations: 1.363 MB / 366 MB, free: 6.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.04898, allocations: 342.3 kB / 366.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.04899, allocations: 128 / 366.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.04922, allocations: 180.1 kB / 366.5 MB, free: 5.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.04968, allocations: 172.6 kB / 366.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.05501, allocations: 5.754 MB / 372.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.05521, allocations: 366.4 kB / 372.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.0554, allocations: 102 kB / 372.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.05563, allocations: 316.4 kB / 373.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.05563, allocations: 0 / 373.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.08963, allocations: 23.72 MB / 396.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.706, allocations: 7.875 kB / 396.9 MB, free: 7.094 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/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: 9.422098598442972]