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.002076/0.002076, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002411/0.002411, allocations: 183.9 kB / 23.72 MB, free: 4.699 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 / 252.5 MB, free: 13.01 MB / 206.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.001548/0.001548, allocations: 47.92 kB / 370.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2529, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006825/0.2597, allocations: 5.585 MB / 428.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02238/0.2821, allocations: 19.49 MB / 447.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009395/0.283, allocations: 35.62 kB / 447.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.2855, allocations: 0.8232 MB / 448.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.2903, allocations: 1.629 MB / 450.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.2947, allocations: 1.32 MB / 451.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003292/0.298, allocations: 1.809 MB / 453.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.2982, allocations: 117.5 kB / 453.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.2988, allocations: 370.4 kB / 453.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/0.2993, allocations: 365.8 kB / 454.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.2994, allocations: 32 kB / 454.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.3032, allocations: 1.432 MB / 455.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.3034, allocations: 123.2 kB / 455.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.3038, allocations: 429.4 kB / 456.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.3067, allocations: 1.607 MB / 457.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3067, allocations: 0 / 457.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3067, allocations: 0 / 457.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.3067, allocations: 0 / 457.8 MB, free: 11.27 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.002379/0.3091, allocations: 1.349 MB / 459.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3092, allocations: 12.03 kB / 459.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.489e-05/0.3092, allocations: 62.48 kB / 459.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.3094, allocations: 127.2 kB / 459.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3105, allocations: 0.6994 MB / 460 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.3106, allocations: 20.48 kB / 460 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.3106, allocations: 23.95 kB / 460 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/0.3114, allocations: 344.8 kB / 460.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3114, allocations: 0 / 460.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.3115, allocations: 8 kB / 460.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.3115, allocations: 11.94 kB / 460.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.3124, allocations: 341.9 kB / 460.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.3143, allocations: 1.182 MB / 461.9 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/0.3152, allocations: 253.7 kB / 462.2 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.3157, allocations: 216.3 kB / 462.4 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007087/0.3228, allocations: 3.645 MB / 466 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005356/0.3233, allocations: 211 kB / 466.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.994e-06/0.3233, allocations: 0 / 466.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001363/0.3247, allocations: 496.6 kB / 466.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3247, allocations: 59.34 kB / 466.8 MB, free: 1.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.3258, allocations: 0.8825 MB / 467.7 MB, free: 1.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.3258, allocations: 29.7 kB / 467.7 MB, free: 1.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.3262, allocations: 468.7 kB / 468.1 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.3263, allocations: 63.5 kB / 468.2 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3264, allocations: 97.59 kB / 468.3 MB, free: 408 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3265, allocations: 314 kB / 468.6 MB, free: 88 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.327, allocations: 123.8 kB / 468.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.3274, allocations: 261.8 kB / 469 MB, free: 15.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008343/0.3283, allocations: 391.9 kB / 469.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3283, allocations: 4 kB / 469.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001081/0.3294, allocations: 0.4949 MB / 469.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3294, allocations: 8.062 kB / 469.9 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.109e-05/0.3294, allocations: 28 kB / 469.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3294, allocations: 8 kB / 469.9 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.3298, allocations: 83.81 kB / 470 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.3298, allocations: 11.92 kB / 470 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.3302, allocations: 63.64 kB / 470.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.3302, allocations: 24 kB / 470.1 MB, free: 14.47 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.0002795/0.3305, allocations: 209.7 kB / 470.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.3306, allocations: 115.3 kB / 470.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.3318, allocations: 459.5 kB / 470.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3319, allocations: 4 kB / 470.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3319, allocations: 3.938 kB / 470.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3319, allocations: 0 / 470.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.3325, allocations: 0.5467 MB / 471.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/0.3326, allocations: 23.98 kB / 471.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.3328, allocations: 43.89 kB / 471.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3328, allocations: 4 kB / 471.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.3328, allocations: 12 kB / 471.5 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3328, allocations: 0 / 471.5 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.3329, allocations: 7.938 kB / 471.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.3338, allocations: 446.3 kB / 471.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.3341, allocations: 127.1 kB / 472.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3342, allocations: 11.98 kB / 472.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.3345, allocations: 19.97 kB / 472.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3346, allocations: 43.88 kB / 472.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.3346, allocations: 12 kB / 472.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007418/0.3354, allocations: 0.592 MB / 472.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3354, allocations: 4 kB / 472.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006269/0.336, allocations: 219.7 kB / 473 MB, free: 11.5 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.001913/0.3379, allocations: 1.35 MB / 474.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009916/0.3389, allocations: 345.5 kB / 474.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3389, allocations: 0 / 474.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.3394, allocations: 178.5 kB / 474.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.3402, allocations: 164.5 kB / 475 MB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009288/0.3494, allocations: 5.809 MB / 480.8 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/0.3501, allocations: 0.9563 MB / 481.7 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.3504, allocations: 98.02 kB / 481.8 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.3508, allocations: 319.3 kB / 482.1 MB, free: 1.969 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3508, allocations: 0 / 482.1 MB, free: 1.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0598/0.4106, allocations: 22.62 MB / 0.4929 GB, free: 11.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/13.78, allocations: 6.875 kB / 0.4929 GB, free: 11.58 MB / 414.1 MB " [Timeout remaining time 646] (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: 16.300370839999232]