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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 59.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2609, allocations: 49.15 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00553/0.2664, allocations: 5.434 MB / 401.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02119/0.2876, allocations: 18.57 MB / 420.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.2889, allocations: 39.75 kB / 420.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.2917, allocations: 0.8089 MB / 421.2 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006384/0.2981, allocations: 1.593 MB / 422.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004786/0.3029, allocations: 1.288 MB / 424.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.3064, allocations: 1.772 MB / 425.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.3067, allocations: 111.4 kB / 426 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005435/0.3072, allocations: 341.4 kB / 426.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.3077, allocations: 356 kB / 426.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.3078, allocations: 36.19 kB / 426.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004021/0.3118, allocations: 1.126 MB / 427.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.312, allocations: 114.7 kB / 427.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000573/0.3126, allocations: 432.9 kB / 428.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.316, allocations: 1.622 MB / 430 MB, free: 1.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.316, allocations: 0 / 430 MB, free: 1.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.316, allocations: 1.438 kB / 430 MB, free: 1.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.316, allocations: 0 / 430 MB, free: 1.375 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.002749/0.3188, allocations: 1.361 MB / 431.3 MB, free: 224 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3188, allocations: 11.98 kB / 431.3 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.633e-05/0.3189, allocations: 66.53 kB / 431.4 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.3191, allocations: 119.2 kB / 431.5 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.3202, allocations: 0.7034 MB / 432.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.3202, allocations: 24.38 kB / 432.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.3203, allocations: 27.89 kB / 432.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.3211, allocations: 340.8 kB / 432.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3211, allocations: 3.984 kB / 432.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.3211, allocations: 11.98 kB / 432.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3211, allocations: 8 kB / 432.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.322, allocations: 349.9 kB / 433 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.3242, allocations: 1.166 MB / 434.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.325, allocations: 258.5 kB / 434.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.3255, allocations: 208.9 kB / 434.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00731/0.3328, allocations: 3.672 MB / 438.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005526/0.3333, allocations: 211.1 kB / 438.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.005e-06/0.3333, allocations: 0 / 438.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001402/0.3348, allocations: 496.6 kB / 438.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3348, allocations: 55.41 kB / 439 MB, free: 8.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.3359, allocations: 0.8867 MB / 439.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.3359, allocations: 33.64 kB / 439.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/0.3363, allocations: 472.8 kB / 440.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.3364, allocations: 67.52 kB / 440.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3365, allocations: 85.59 kB / 440.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3367, allocations: 318 kB / 440.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.337, allocations: 123.9 kB / 441 MB, free: 6.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.3375, allocations: 261.9 kB / 441.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008214/0.3383, allocations: 393.5 kB / 441.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3383, allocations: 4 kB / 441.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001116/0.3395, allocations: 0.5048 MB / 442.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.3395, allocations: 8 kB / 442.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.497e-05/0.3395, allocations: 23.98 kB / 442.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.3395, allocations: 8 kB / 442.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.3399, allocations: 83.81 kB / 442.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3399, allocations: 8 kB / 442.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.3404, allocations: 51.75 kB / 442.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.3404, allocations: 24.03 kB / 442.3 MB, free: 4.762 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.0003078/0.3407, allocations: 217.6 kB / 442.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.3409, allocations: 119.2 kB / 442.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3421, allocations: 460.2 kB / 443.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3421, allocations: 0 / 443.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3421, allocations: 7.922 kB / 443.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.3421, allocations: 4 kB / 443.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.3428, allocations: 0.5352 MB / 443.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/0.3428, allocations: 20 kB / 443.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.343, allocations: 51.77 kB / 443.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.343, allocations: 0 / 443.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3431, allocations: 15.98 kB / 443.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3431, allocations: 8.062 kB / 443.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3431, allocations: 0 / 443.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.344, allocations: 451.1 kB / 444.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.3443, allocations: 131.2 kB / 444.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3444, allocations: 8 kB / 444.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.3447, allocations: 35.89 kB / 444.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3448, allocations: 31.91 kB / 444.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.3448, allocations: 19.98 kB / 444.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007653/0.3456, allocations: 0.5922 MB / 445 MB, free: 1.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3456, allocations: 3.938 kB / 445 MB, free: 1.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00082/0.3464, allocations: 223.6 kB / 445.2 MB, free: 1.766 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.002108/0.3485, allocations: 1.36 MB / 446.6 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009975/0.3495, allocations: 334.4 kB / 446.9 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3495, allocations: 0 / 446.9 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.35, allocations: 177.7 kB / 447.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.3508, allocations: 141.1 kB / 447.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009347/0.3601, allocations: 5.822 MB / 453 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.3607, allocations: 0.9564 MB / 454 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003476/0.3611, allocations: 102 kB / 454.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.3614, allocations: 319.3 kB / 454.4 MB, free: 8.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3614, allocations: 3.938 kB / 454.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05787/0.4193, allocations: 22.74 MB / 477.1 MB, free: 1.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.63, allocations: 8 kB / 477.2 MB, free: 1.402 MB / 382.1 MB " [Timeout remaining time 646] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable VGS.p.v in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable VGS.p.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! Error: Could not read variable M1.D.i in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable M1.D.i from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.989168672000233]