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.001336/0.001336, allocations: 107.5 kB / 20.44 MB, free: 1.328 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.0014/0.0014, allocations: 191.3 kB / 23.71 MB, free: 4.52 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.411/1.411, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001606/0.001606, allocations: 55.91 kB / 370.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2264, allocations: 52.18 MB / 422.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006196/0.2326, allocations: 4.883 MB / 427.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02051/0.2531, allocations: 16.6 MB / 444 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008195/0.254, allocations: 35.62 kB / 444.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.2561, allocations: 0.7194 MB / 444.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.2609, allocations: 1.613 MB / 446.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.2649, allocations: 1.278 MB / 447.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.268, allocations: 1.805 MB / 449.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.2682, allocations: 109.6 kB / 449.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.2687, allocations: 370.3 kB / 450 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.2691, allocations: 349.8 kB / 450.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/0.2692, allocations: 32 kB / 450.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.2721, allocations: 1.155 MB / 451.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.2722, allocations: 119.2 kB / 451.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.2726, allocations: 329.9 kB / 451.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.2751, allocations: 1.615 MB / 453.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.2751, allocations: 3.984 kB / 453.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2751, allocations: 4 kB / 453.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.2751, allocations: 0 / 453.6 MB, free: 15.23 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.002384/0.2775, allocations: 1.337 MB / 454.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2775, allocations: 12.03 kB / 454.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.956e-05/0.2776, allocations: 58.53 kB / 455 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.2777, allocations: 123.2 kB / 455.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.279, allocations: 0.711 MB / 455.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.279, allocations: 12.5 kB / 455.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.279, allocations: 24 kB / 455.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007816/0.2798, allocations: 340.8 kB / 456.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2798, allocations: 3.938 kB / 456.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.2799, allocations: 11.98 kB / 456.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.2799, allocations: 11.94 kB / 456.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009247/0.2808, allocations: 349.9 kB / 456.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.2828, allocations: 1.104 MB / 457.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000877/0.2837, allocations: 246.6 kB / 457.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/0.2842, allocations: 209.1 kB / 458.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006983/0.2912, allocations: 3.614 MB / 461.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005755/0.2918, allocations: 215.1 kB / 461.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.624e-06/0.2918, allocations: 0 / 461.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001453/0.2932, allocations: 495.1 kB / 462.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.2933, allocations: 63.34 kB / 462.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.2944, allocations: 0.8902 MB / 463.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.2945, allocations: 29.7 kB / 463.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.2949, allocations: 468.8 kB / 463.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.295, allocations: 63.53 kB / 463.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.2951, allocations: 85.59 kB / 464 MB, free: 4.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2952, allocations: 322 kB / 464.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.2957, allocations: 119.9 kB / 464.4 MB, free: 4.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.2962, allocations: 257.9 kB / 464.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.297, allocations: 395.4 kB / 465 MB, free: 3.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.297, allocations: 11.88 kB / 465.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001118/0.2981, allocations: 0.5023 MB / 465.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2982, allocations: 7.125 kB / 465.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.487e-05/0.2982, allocations: 24 kB / 465.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2982, allocations: 4 kB / 465.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.2986, allocations: 91.8 kB / 465.7 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.2986, allocations: 11.94 kB / 465.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.299, allocations: 59.97 kB / 465.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.299, allocations: 24 kB / 465.8 MB, free: 2.539 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.000281/0.2993, allocations: 213.7 kB / 466 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2994, allocations: 115.3 kB / 466.1 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.3007, allocations: 463.5 kB / 466.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3007, allocations: 0 / 466.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3007, allocations: 3.938 kB / 466.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3007, allocations: 8 kB / 466.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.3013, allocations: 0.5155 MB / 467.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.3013, allocations: 16 kB / 467.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.3016, allocations: 39.95 kB / 467.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3016, allocations: 4 kB / 467.1 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.3016, allocations: 12 kB / 467.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3016, allocations: 0 / 467.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3016, allocations: 11.94 kB / 467.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009862/0.3026, allocations: 442.5 kB / 467.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.3029, allocations: 135.1 kB / 467.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.764e-05/0.303, allocations: 7.984 kB / 467.7 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.3033, allocations: 27.97 kB / 467.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.3034, allocations: 31.95 kB / 467.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.3034, allocations: 12 kB / 467.8 MB, free: 428 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007297/0.3041, allocations: 0.5959 MB / 468.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3041, allocations: 0 / 468.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006079/0.3047, allocations: 223.6 kB / 468.6 MB, free: 15.6 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.001905/0.3066, allocations: 1.343 MB / 470 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009332/0.3076, allocations: 337.3 kB / 470.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3076, allocations: 0 / 470.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.308, allocations: 186.1 kB / 470.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.3088, allocations: 176.4 kB / 470.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008759/0.3175, allocations: 5.801 MB / 476.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3179, allocations: 370.4 kB / 476.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003299/0.3182, allocations: 98.02 kB / 476.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.3186, allocations: 319.3 kB / 477.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3186, allocations: 4 kB / 477.2 MB, free: 6.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05872/0.3774, allocations: 23.6 MB / 0.4891 GB, free: 15.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.37, allocations: 3.938 kB / 0.4891 GB, free: 15.34 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.74549776641652]