Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008764/0.0008764, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009936/0.0009936, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8935/0.8935, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.364e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004251/0.004275, allocations: 4.891 MB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.01764, allocations: 16.64 MB / 346 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007231/0.01837, allocations: 35.62 kB / 346.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.01991, allocations: 0.7256 MB / 346.8 MB, free: 9.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.0234, allocations: 1.648 MB / 348.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.02637, allocations: 1.305 MB / 349.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.02853, allocations: 1.879 MB / 351.6 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.02873, allocations: 106.2 kB / 351.7 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.02915, allocations: 0.4909 MB / 352.2 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005106/0.02966, allocations: 267.1 kB / 352.5 MB, free: 3.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/0.02971, allocations: 32 kB / 352.5 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.03179, allocations: 1.17 MB / 353.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.03187, allocations: 119.2 kB / 353.8 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.03205, allocations: 239.3 kB / 354 MB, free: 2.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.03369, allocations: 1.69 MB / 355.7 MB, free: 0.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.03369, allocations: 4 kB / 355.7 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.03369, allocations: 0 / 355.7 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.0337, allocations: 0 / 355.7 MB, free: 0.4961 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.001382/0.03508, allocations: 1.329 MB / 357.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.03513, allocations: 11.98 kB / 357.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.03518, allocations: 58.53 kB / 357.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.03529, allocations: 131.1 kB / 357.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.03596, allocations: 0.7071 MB / 358 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.03598, allocations: 16.5 kB / 358 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.03603, allocations: 27.94 kB / 358 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.03651, allocations: 336.8 kB / 358.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.03652, allocations: 4 kB / 358.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.03654, allocations: 7.938 kB / 358.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.03655, allocations: 15.98 kB / 358.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.03705, allocations: 337.9 kB / 358.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.03866, allocations: 1.124 MB / 359.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.03916, allocations: 242.6 kB / 360.1 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.03945, allocations: 207.9 kB / 360.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004159/0.04361, allocations: 3.641 MB / 363.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003346/0.04395, allocations: 203.2 kB / 364.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.04395, allocations: 0 / 364.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007725/0.04472, allocations: 492 kB / 364.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.04476, allocations: 67.33 kB / 364.7 MB, free: 7.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.04543, allocations: 0.8863 MB / 365.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.04546, allocations: 25.7 kB / 365.6 MB, free: 6.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.04572, allocations: 468.7 kB / 366 MB, free: 5.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.04576, allocations: 63.52 kB / 366.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.04585, allocations: 89.53 kB / 366.2 MB, free: 5.727 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.04593, allocations: 325.9 kB / 366.5 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.04614, allocations: 131.8 kB / 366.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.04663, allocations: 253.9 kB / 366.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.04708, allocations: 389.6 kB / 367.2 MB, free: 4.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.04708, allocations: 4 kB / 367.3 MB, free: 4.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000586/0.04767, allocations: 0.5073 MB / 367.8 MB, free: 4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.04769, allocations: 8 kB / 367.8 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.04771, allocations: 20 kB / 367.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.04772, allocations: 4 kB / 367.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.0479, allocations: 87.86 kB / 367.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.04791, allocations: 12.34 kB / 367.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.04811, allocations: 59.73 kB / 367.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.04814, allocations: 20 kB / 368 MB, free: 3.793 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.0001901/0.04833, allocations: 213.7 kB / 368.2 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.0484, allocations: 115.2 kB / 368.3 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.04916, allocations: 459.5 kB / 368.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.04917, allocations: 3.938 kB / 368.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.04917, allocations: 8 kB / 368.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.04918, allocations: 0 / 368.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.04959, allocations: 0.5193 MB / 369.3 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.04961, allocations: 16 kB / 369.3 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.04973, allocations: 39.95 kB / 369.3 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.04973, allocations: 7.938 kB / 369.3 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.04975, allocations: 12 kB / 369.3 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.04975, allocations: 4.062 kB / 369.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.04975, allocations: 0 / 369.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.05027, allocations: 447.2 kB / 369.8 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.05043, allocations: 131.1 kB / 369.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.05048, allocations: 15.98 kB / 369.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.05063, allocations: 23.97 kB / 369.9 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.0507, allocations: 35.86 kB / 370 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.05072, allocations: 12 kB / 370 MB, free: 1.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000449/0.05117, allocations: 0.592 MB / 370.6 MB, free: 1.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.05117, allocations: 0 / 370.6 MB, free: 1.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004425/0.05161, allocations: 219.7 kB / 370.8 MB, free: 0.8477 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.001179/0.05279, allocations: 1.371 MB / 372.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.05333, allocations: 341.4 kB / 372.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.05333, allocations: 0 / 372.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.05357, allocations: 173.6 kB / 372.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.05406, allocations: 173.6 kB / 372.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.05967, allocations: 5.76 MB / 378.6 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.05989, allocations: 366.4 kB / 379 MB, free: 8.352 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002273/0.06012, allocations: 98.02 kB / 379.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.06036, allocations: 324.4 kB / 379.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.442e-06/0.06036, allocations: 0 / 379.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.0937, allocations: 23.75 MB / 403.1 MB, free: 404 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.632, allocations: 7.609 kB / 403.1 MB, free: 400 kB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable VGS.p.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! Error: Could not read variable M1.D.i in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable M1.D.i from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.357423194684088]