Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009159/0.0009159, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004951/0.004951, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8691/0.8691, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.365e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.1319/0.1319, allocations: 4.756 MB / 303.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1422, allocations: 15.82 MB / 319 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.1426, allocations: 36.28 kB / 319 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.1438, allocations: 0.7077 MB / 319.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.1461, allocations: 1.623 MB / 321.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.1479, allocations: 1.259 MB / 322.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.1494, allocations: 1.822 MB / 324.5 MB, free: 328 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.1496, allocations: 116.3 kB / 324.6 MB, free: 256 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.15, allocations: 461.8 kB / 325 MB, free: 128 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.1503, allocations: 257.2 kB / 325.3 MB, free: 56 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.1504, allocations: 32.22 kB / 325.3 MB, free: 56 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.1519, allocations: 1.048 MB / 326.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.764e-05/0.152, allocations: 123.7 kB / 326.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.1522, allocations: 237.6 kB / 326.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.1537, allocations: 1.705 MB / 328.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1537, allocations: 1.312 kB / 328.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1537, allocations: 0 / 328.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1537, allocations: 0 / 328.4 MB, free: 14.6 MB / 298.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.001473/0.1552, allocations: 1.337 MB / 329.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1553, allocations: 14.14 kB / 329.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/0.1553, allocations: 62.78 kB / 329.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1555, allocations: 124.4 kB / 329.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/0.1562, allocations: 0.7059 MB / 330.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1562, allocations: 16.88 kB / 330.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.1563, allocations: 31.39 kB / 330.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.1568, allocations: 340.7 kB / 331 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1568, allocations: 0 / 331 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1568, allocations: 11.56 kB / 331 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1568, allocations: 10.88 kB / 331 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.1573, allocations: 340.7 kB / 331.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1585, allocations: 1.104 MB / 332.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.159, allocations: 256.1 kB / 332.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.1593, allocations: 204.9 kB / 332.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003969/0.1633, allocations: 3.637 MB / 336.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.1636, allocations: 211.2 kB / 336.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/0.1636, allocations: 0 / 336.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007431/0.1644, allocations: 0.4887 MB / 337.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1644, allocations: 59.41 kB / 337.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.165, allocations: 0.8867 MB / 338.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1651, allocations: 33.7 kB / 338.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.1653, allocations: 468.8 kB / 338.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.1653, allocations: 63.47 kB / 338.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.374e-05/0.1654, allocations: 85.59 kB / 338.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.1655, allocations: 322 kB / 339.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.1657, allocations: 123.9 kB / 339.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.1659, allocations: 257.9 kB / 339.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.1664, allocations: 393.6 kB / 339.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1664, allocations: 7.938 kB / 339.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005723/0.167, allocations: 0.4932 MB / 340.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.167, allocations: 15.88 kB / 340.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.167, allocations: 20 kB / 340.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.167, allocations: 12.5 kB / 340.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.1672, allocations: 91.8 kB / 340.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1672, allocations: 8 kB / 340.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.1674, allocations: 59.27 kB / 340.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.1674, allocations: 24 kB / 340.6 MB, free: 4.012 MB / 298.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.0001769/0.1676, allocations: 209.7 kB / 340.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.1677, allocations: 115.3 kB / 341 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/0.1683, allocations: 465.6 kB / 341.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1683, allocations: 7.938 kB / 341.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1683, allocations: 0 / 341.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1683, allocations: 3.984 kB / 341.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.1687, allocations: 0.5118 MB / 341.9 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.1687, allocations: 16 kB / 342 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1689, allocations: 55.94 kB / 342 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1689, allocations: 0 / 342 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1689, allocations: 8 kB / 342 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1689, allocations: 7.938 kB / 342 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1689, allocations: 0 / 342 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.1694, allocations: 451.8 kB / 342.5 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1695, allocations: 127.1 kB / 342.6 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.1696, allocations: 7.984 kB / 342.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1697, allocations: 23.97 kB / 342.6 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.1698, allocations: 35.89 kB / 342.7 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.1698, allocations: 16 kB / 342.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004343/0.1702, allocations: 0.596 MB / 343.3 MB, free: 1.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1702, allocations: 4 kB / 343.3 MB, free: 1.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003773/0.1706, allocations: 223.7 kB / 343.5 MB, free: 1.055 MB / 298.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.001109/0.1717, allocations: 1.372 MB / 344.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005081/0.1722, allocations: 342.3 kB / 345.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1722, allocations: 4.125 kB / 345.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.1725, allocations: 170.2 kB / 345.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1728, allocations: 147.7 kB / 345.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005396/0.1782, allocations: 5.793 MB / 351.3 MB, free: 8.945 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1785, allocations: 370.4 kB / 351.7 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.1787, allocations: 98.06 kB / 351.8 MB, free: 8.453 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.1789, allocations: 324.4 kB / 352.1 MB, free: 8.137 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.1789, allocations: 4 kB / 352.1 MB, free: 8.133 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.2126, allocations: 23.83 MB / 375.9 MB, free: 240 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/7.856, allocations: 7.859 kB / 375.9 MB, free: 232 kB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable VGS.p.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! Error: Could not read variable M1.D.i in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable M1.D.i from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.511381509713829]