Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001866/0.001866, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002324/0.002324, allocations: 203.3 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_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: 55.91 kB / 377.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2275, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006435/0.234, allocations: 4.901 MB / 436 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02091/0.2549, allocations: 16.62 MB / 452.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008436/0.2557, allocations: 39.62 kB / 452.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.258, allocations: 0.7221 MB / 453.4 MB, free: 300 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.2629, allocations: 1.594 MB / 455 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.2669, allocations: 1.289 MB / 456.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003185/0.2701, allocations: 1.824 MB / 458.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.2703, allocations: 118.1 kB / 458.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.2709, allocations: 366.4 kB / 458.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.2714, allocations: 365.8 kB / 458.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.978e-05/0.2715, allocations: 32 kB / 458.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.2746, allocations: 1.202 MB / 460.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.2748, allocations: 119.2 kB / 460.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.2752, allocations: 322 kB / 460.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.2777, allocations: 1.623 MB / 462.2 MB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2777, allocations: 4 kB / 462.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2777, allocations: 0 / 462.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.2778, allocations: 0 / 462.2 MB, free: 7.406 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.00225/0.28, allocations: 1.341 MB / 463.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.28, allocations: 8.031 kB / 463.5 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.762e-05/0.2801, allocations: 62.55 kB / 463.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.2803, allocations: 127.1 kB / 463.7 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.2814, allocations: 0.7149 MB / 464.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2814, allocations: 16.5 kB / 464.5 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.2814, allocations: 31.98 kB / 464.5 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.2822, allocations: 332.8 kB / 464.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2822, allocations: 0 / 464.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.2823, allocations: 19.94 kB / 464.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.2823, allocations: 7.938 kB / 464.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009202/0.2832, allocations: 345.9 kB / 465.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.2852, allocations: 1.112 MB / 466.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008393/0.286, allocations: 250.6 kB / 466.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.2866, allocations: 212.9 kB / 466.7 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007078/0.2936, allocations: 3.618 MB / 470.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.2942, allocations: 209.7 kB / 470.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.983e-06/0.2942, allocations: 0 / 470.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001362/0.2955, allocations: 488.6 kB / 471 MB, free: 14.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.2956, allocations: 71.33 kB / 471.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.2966, allocations: 0.8824 MB / 472 MB, free: 13.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.2967, allocations: 33.7 kB / 472 MB, free: 13.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.2971, allocations: 468.7 kB / 472.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.2972, allocations: 71.44 kB / 472.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.2973, allocations: 85.39 kB / 472.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2974, allocations: 318 kB / 472.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.2978, allocations: 131.8 kB / 473.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.2983, allocations: 257.8 kB / 473.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000882/0.2992, allocations: 396.8 kB / 473.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.2992, allocations: 4 kB / 473.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001095/0.3003, allocations: 0.5043 MB / 474.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3003, allocations: 8 kB / 474.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.952e-05/0.3004, allocations: 20 kB / 474.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3004, allocations: 4 kB / 474.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.3007, allocations: 84.34 kB / 474.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.3007, allocations: 23.86 kB / 474.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.3011, allocations: 51.75 kB / 474.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.3012, allocations: 20 kB / 474.4 MB, free: 10.69 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.0002582/0.3014, allocations: 205.8 kB / 474.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3015, allocations: 111.3 kB / 474.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.3028, allocations: 474.2 kB / 475.2 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3028, allocations: 4 kB / 475.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3028, allocations: 7.938 kB / 475.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3028, allocations: 0 / 475.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006287/0.3034, allocations: 0.5116 MB / 475.7 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/0.3034, allocations: 23.94 kB / 475.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.3037, allocations: 43.89 kB / 475.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.3037, allocations: 4 kB / 475.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3037, allocations: 15.98 kB / 475.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3037, allocations: 4.062 kB / 475.8 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3037, allocations: 3.938 kB / 475.8 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.3047, allocations: 443.2 kB / 476.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.305, allocations: 131.2 kB / 476.4 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.536e-05/0.3051, allocations: 8 kB / 476.4 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.3053, allocations: 27.97 kB / 476.4 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.3054, allocations: 31.95 kB / 476.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.3055, allocations: 19.98 kB / 476.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007146/0.3062, allocations: 0.5881 MB / 477.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3062, allocations: 0 / 477.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.3068, allocations: 219.7 kB / 477.3 MB, free: 7.746 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.001886/0.3087, allocations: 1.359 MB / 478.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009233/0.3096, allocations: 337.2 kB / 479 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3096, allocations: 0 / 479 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.3101, allocations: 178.8 kB / 479.1 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.3108, allocations: 168.5 kB / 479.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008706/0.3195, allocations: 5.794 MB / 485.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.3199, allocations: 370.4 kB / 485.5 MB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.3202, allocations: 102 kB / 485.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/0.3206, allocations: 323.3 kB / 485.9 MB, free: 14.8 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3206, allocations: 3.938 kB / 485.9 MB, free: 14.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06044/0.381, allocations: 23.74 MB / 0.4977 GB, free: 7.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.21, allocations: 7.797 kB / 0.4977 GB, free: 7.34 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable VGS.p.v from file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! Error: Could not read variable M1.D.i in file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable M1.D.i from file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.663894094992429]