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.00156/0.00156, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002109/0.002109, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.001846/0.001846, allocations: 63.88 kB / 377.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2763, allocations: 53.41 MB / 431.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007003/0.2833, allocations: 5.59 MB / 436.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02315/0.3065, allocations: 19.53 MB / 456.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008564/0.3073, allocations: 39.62 kB / 456.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.3096, allocations: 0.8301 MB / 457.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.3149, allocations: 1.614 MB / 458.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004157/0.319, allocations: 1.328 MB / 460.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.3223, allocations: 1.821 MB / 461.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.3226, allocations: 121.6 kB / 462 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005422/0.3232, allocations: 370.4 kB / 462.4 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.3237, allocations: 369.7 kB / 462.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/0.3237, allocations: 36 kB / 462.8 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.3275, allocations: 1.436 MB / 464.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3276, allocations: 111.3 kB / 464.3 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004767/0.3281, allocations: 437.3 kB / 464.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.3309, allocations: 1.615 MB / 466.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3309, allocations: 0 / 466.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.3309, allocations: 3.984 kB / 466.4 MB, free: 3.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3309, allocations: 0 / 466.4 MB, free: 3.355 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.002292/0.3332, allocations: 1.341 MB / 467.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3333, allocations: 12.03 kB / 467.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.574e-05/0.3333, allocations: 58.53 kB / 467.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3335, allocations: 127.1 kB / 467.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.3346, allocations: 0.7072 MB / 468.6 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.3346, allocations: 12.5 kB / 468.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.3347, allocations: 27.94 kB / 468.7 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/0.3355, allocations: 340.8 kB / 469 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3355, allocations: 0 / 469 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.3355, allocations: 11.98 kB / 469 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.3356, allocations: 11.94 kB / 469 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008945/0.3365, allocations: 349.9 kB / 469.4 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.3386, allocations: 1.174 MB / 470.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.3394, allocations: 258.5 kB / 470.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.3399, allocations: 205 kB / 471 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007329/0.3472, allocations: 3.657 MB / 474.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005723/0.3478, allocations: 208.6 kB / 474.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.625e-06/0.3478, allocations: 0 / 474.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001427/0.3492, allocations: 0.4888 MB / 475.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.3493, allocations: 59.34 kB / 475.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.3504, allocations: 0.8786 MB / 476.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.3504, allocations: 33.7 kB / 476.3 MB, free: 9.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.3509, allocations: 476.7 kB / 476.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.3509, allocations: 55.58 kB / 476.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3511, allocations: 89.38 kB / 476.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3512, allocations: 322 kB / 477.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.3516, allocations: 119.9 kB / 477.4 MB, free: 8.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.3521, allocations: 261.9 kB / 477.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.3529, allocations: 389.2 kB / 478 MB, free: 7.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3529, allocations: 7.938 kB / 478 MB, free: 7.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001087/0.354, allocations: 0.5047 MB / 478.5 MB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.354, allocations: 7.938 kB / 478.5 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/0.3541, allocations: 24 kB / 478.5 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3541, allocations: 4 kB / 478.5 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.3545, allocations: 91.8 kB / 478.6 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.3545, allocations: 15.94 kB / 478.6 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.3549, allocations: 55.88 kB / 478.7 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.3549, allocations: 20 kB / 478.7 MB, free: 6.559 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.0002937/0.3552, allocations: 216.7 kB / 478.9 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.3553, allocations: 119.2 kB / 479 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.3566, allocations: 459.5 kB / 479.5 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3566, allocations: 0 / 479.5 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.3566, allocations: 7.938 kB / 479.5 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3566, allocations: 7.984 kB / 479.5 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.3572, allocations: 0.5389 MB / 480 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/0.3573, allocations: 16 kB / 480.1 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.3575, allocations: 43.89 kB / 480.1 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3575, allocations: 4 kB / 480.1 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.3575, allocations: 12 kB / 480.1 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3576, allocations: 4.062 kB / 480.1 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3576, allocations: 3.938 kB / 480.1 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009869/0.3585, allocations: 453 kB / 480.6 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.3588, allocations: 131.1 kB / 480.7 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.3589, allocations: 7.984 kB / 480.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.3592, allocations: 23.97 kB / 480.7 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.757e-05/0.3593, allocations: 35.89 kB / 480.8 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.3593, allocations: 16 kB / 480.8 MB, free: 4.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007385/0.3601, allocations: 0.592 MB / 481.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3601, allocations: 0 / 481.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006475/0.3607, allocations: 223.7 kB / 481.6 MB, free: 3.582 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.001941/0.3627, allocations: 1.359 MB / 483 MB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009538/0.3636, allocations: 334.4 kB / 483.3 MB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3636, allocations: 0 / 483.3 MB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.3641, allocations: 177.6 kB / 483.5 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.3649, allocations: 176.4 kB / 483.6 MB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0091/0.374, allocations: 5.794 MB / 489.4 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.3746, allocations: 0.9563 MB / 490.4 MB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.3749, allocations: 102 kB / 490.5 MB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.3753, allocations: 319.3 kB / 490.8 MB, free: 10.05 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3753, allocations: 0 / 490.8 MB, free: 10.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06019/0.4355, allocations: 22.66 MB / 0.5014 GB, free: 3.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.62, allocations: 7.844 kB / 0.5014 GB, free: 3.543 MB / 414.1 MB " [Timeout remaining time 646] (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: 16.07695275700098]