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.001813/0.001813, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002239/0.002239, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 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 1.537/1.537, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001968/0.001968, allocations: 67.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1135, allocations: 53.37 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2175/0.331, allocations: 5.57 MB / 431.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0233/0.3543, allocations: 19.52 MB / 451.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009851/0.3553, allocations: 36.31 kB / 451.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.3585, allocations: 0.8335 MB / 452.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007351/0.3659, allocations: 1.595 MB / 453.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005933/0.3718, allocations: 1.307 MB / 455.2 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003835/0.3756, allocations: 1.825 MB / 457 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.3759, allocations: 112 kB / 457.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007157/0.3767, allocations: 366.6 kB / 457.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.3773, allocations: 367.3 kB / 457.9 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.143e-05/0.3774, allocations: 37.06 kB / 457.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005449/0.3828, allocations: 1.439 MB / 459.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.3831, allocations: 112.4 kB / 459.4 MB, free: 7.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008169/0.3839, allocations: 433.8 kB / 459.9 MB, free: 7.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.3889, allocations: 1.613 MB / 461.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3889, allocations: 1.172 kB / 461.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3889, allocations: 4 kB / 461.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.3889, allocations: 1.094 kB / 461.5 MB, free: 6.742 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.002689/0.3916, allocations: 1.416 MB / 462.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3916, allocations: 8.688 kB / 462.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.742e-05/0.3917, allocations: 62.55 kB / 463 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.3919, allocations: 127.5 kB / 463.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3932, allocations: 0.7842 MB / 463.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.3932, allocations: 14.89 kB / 463.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.3933, allocations: 24.94 kB / 463.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008611/0.3941, allocations: 341.5 kB / 464.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3941, allocations: 1.156 kB / 464.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.3942, allocations: 5.781 kB / 464.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.3942, allocations: 13.47 kB / 464.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009683/0.3952, allocations: 345.5 kB / 464.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.3973, allocations: 1.244 MB / 465.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.3982, allocations: 248.7 kB / 466.1 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.3988, allocations: 213.4 kB / 466.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009981/0.4087, allocations: 7.915 MB / 474.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000619/0.4094, allocations: 206.8 kB / 474.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.825e-06/0.4094, allocations: 0 / 474.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001584/0.4109, allocations: 495.1 kB / 474.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.411, allocations: 59.72 kB / 475 MB, free: 11.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.4122, allocations: 0.8844 MB / 475.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4122, allocations: 35.17 kB / 475.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.4127, allocations: 474.1 kB / 476.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.4127, allocations: 51.94 kB / 476.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.4129, allocations: 93.66 kB / 476.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.413, allocations: 317.8 kB / 476.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.4135, allocations: 122.6 kB / 476.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.414, allocations: 259.2 kB / 477.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.415, allocations: 392.9 kB / 477.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.415, allocations: 1.062 kB / 477.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001297/0.4163, allocations: 0.5112 MB / 478.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.4163, allocations: 8.438 kB / 478.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/0.4164, allocations: 27.48 kB / 478.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4164, allocations: 7.406 kB / 478.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.4168, allocations: 78.72 kB / 478.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.4168, allocations: 15.59 kB / 478.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.4173, allocations: 58 kB / 478.3 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.4174, allocations: 22.22 kB / 478.3 MB, free: 9.59 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.0003566/0.4178, allocations: 207.7 kB / 478.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.4179, allocations: 116.3 kB / 478.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.4193, allocations: 472.7 kB / 479.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4193, allocations: 0 / 479.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4193, allocations: 6.562 kB / 479.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4193, allocations: 3.984 kB / 479.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008309/0.4201, allocations: 0.5634 MB / 479.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.712e-05/0.4202, allocations: 17.28 kB / 479.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.4205, allocations: 39.27 kB / 479.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4205, allocations: 5 kB / 479.7 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.4206, allocations: 14 kB / 479.7 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.4206, allocations: 6.891 kB / 479.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.4206, allocations: 3.938 kB / 479.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4217, allocations: 451.8 kB / 480.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.4221, allocations: 209 kB / 480.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.4222, allocations: 9.797 kB / 480.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.4225, allocations: 21.78 kB / 480.4 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.4226, allocations: 35.59 kB / 480.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.4227, allocations: 15.61 kB / 480.4 MB, free: 8.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008501/0.4235, allocations: 0.5887 MB / 481 MB, free: 7.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4235, allocations: 0 / 481 MB, free: 7.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008755/0.4244, allocations: 219.9 kB / 481.2 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.002209/0.4266, allocations: 1.353 MB / 482.6 MB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.4277, allocations: 337.1 kB / 482.9 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4277, allocations: 4.125 kB / 482.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.4282, allocations: 174.1 kB / 483.1 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009751/0.4292, allocations: 180.6 kB / 483.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009867/0.439, allocations: 5.816 MB / 489.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.4397, allocations: 0.9563 MB / 490.1 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003535/0.44, allocations: 102.9 kB / 490.2 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.4404, allocations: 315.3 kB / 490.5 MB, free: 14.59 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4404, allocations: 0 / 490.5 MB, free: 14.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05835/0.4988, allocations: 22.36 MB / 0.5008 GB, free: 8.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.74, allocations: 11.73 kB / 0.5008 GB, free: 8.41 MB / 414.1 MB " [Timeout remaining time 649] (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/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_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: 13.33124108496122]