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.001318/0.001318, allocations: 117.9 kB / 18.45 MB, free: 4.609 MB / 14.72 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.001348/0.001348, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.477/1.477, allocations: 207.6 MB / 231.8 MB, free: 4.078 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 51.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09384, allocations: 49.13 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006785/0.1006, allocations: 5.414 MB / 396.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0241/0.1247, allocations: 18.56 MB / 415.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009593/0.1257, allocations: 35.62 kB / 415.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.1282, allocations: 0.8144 MB / 416.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005346/0.1335, allocations: 1.576 MB / 417.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.1379, allocations: 1.256 MB / 419.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003313/0.1413, allocations: 1.765 MB / 420.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.1415, allocations: 113.2 kB / 420.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.1422, allocations: 342.4 kB / 421.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.1428, allocations: 357.9 kB / 421.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.775e-05/0.1429, allocations: 35.94 kB / 421.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.1466, allocations: 1.12 MB / 422.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.1469, allocations: 115.2 kB / 422.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006249/0.1475, allocations: 429.3 kB / 423.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00363/0.1511, allocations: 1.631 MB / 424.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1511, allocations: 0 / 424.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1511, allocations: 4 kB / 424.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.1511, allocations: 4 kB / 425 MB, free: 7.008 MB / 350.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.002479/0.1536, allocations: 1.424 MB / 426.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.1537, allocations: 12.03 kB / 426.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.987e-05/0.1538, allocations: 62.53 kB / 426.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.1539, allocations: 119.2 kB / 426.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.155, allocations: 0.7871 MB / 427.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1551, allocations: 20.5 kB / 427.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.1551, allocations: 35.89 kB / 427.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/0.156, allocations: 332.7 kB / 427.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.156, allocations: 3.984 kB / 427.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.156, allocations: 8 kB / 427.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.156, allocations: 8 kB / 427.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.157, allocations: 346 kB / 428.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.1592, allocations: 1.238 MB / 429.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.1601, allocations: 246.6 kB / 429.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.1606, allocations: 212.9 kB / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008903/0.1695, allocations: 7.783 MB / 437.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006056/0.1702, allocations: 219 kB / 437.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.434e-06/0.1702, allocations: 0 / 437.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001567/0.1717, allocations: 492.6 kB / 438.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.1718, allocations: 55.41 kB / 438.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.173, allocations: 0.8867 MB / 439.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.173, allocations: 33.7 kB / 439.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.1734, allocations: 476.8 kB / 439.7 MB, free: 6.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.1735, allocations: 63.47 kB / 439.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1737, allocations: 89.59 kB / 439.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1738, allocations: 314 kB / 440.1 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.1742, allocations: 131.8 kB / 440.3 MB, free: 6.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.1748, allocations: 253.9 kB / 440.5 MB, free: 6.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009555/0.1757, allocations: 401.4 kB / 440.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1757, allocations: 0 / 440.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001247/0.177, allocations: 0.5082 MB / 441.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.177, allocations: 12.06 kB / 441.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.125e-05/0.177, allocations: 20 kB / 441.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.1771, allocations: 11.94 kB / 441.5 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.1775, allocations: 84.34 kB / 441.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.1775, allocations: 15.94 kB / 441.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.1779, allocations: 47.8 kB / 441.6 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.178, allocations: 24 kB / 441.6 MB, free: 4.863 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.000372/0.1784, allocations: 201.7 kB / 441.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.1785, allocations: 123.2 kB / 442 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.18, allocations: 475.5 kB / 442.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.18, allocations: 0 / 442.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.18, allocations: 4 kB / 442.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.18, allocations: 0 / 442.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008047/0.1808, allocations: 0.5672 MB / 443 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/0.1808, allocations: 16 kB / 443 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.1811, allocations: 55.89 kB / 443.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.1811, allocations: 4 kB / 443.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.1811, allocations: 15.97 kB / 443.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1811, allocations: 0 / 443.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1811, allocations: 0 / 443.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.1822, allocations: 455.1 kB / 443.5 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.1825, allocations: 200.3 kB / 443.7 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/0.1826, allocations: 8 kB / 443.7 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.1829, allocations: 27.97 kB / 443.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.183, allocations: 35.89 kB / 443.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.1831, allocations: 12 kB / 443.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008924/0.184, allocations: 0.5922 MB / 444.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.184, allocations: 0 / 444.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007167/0.1847, allocations: 227.6 kB / 444.6 MB, free: 1.75 MB / 366.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.002284/0.187, allocations: 1.372 MB / 446 MB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.188, allocations: 343.4 kB / 446.3 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.188, allocations: 0 / 446.3 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.1886, allocations: 165.6 kB / 446.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.1893, allocations: 156.6 kB / 446.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009512/0.1988, allocations: 5.831 MB / 452.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/0.1995, allocations: 0.9564 MB / 453.4 MB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003326/0.1998, allocations: 94.08 kB / 453.5 MB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/0.2002, allocations: 327.3 kB / 453.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.2002, allocations: 0 / 453.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2493/0.4495, allocations: 22.44 MB / 476.3 MB, free: 63.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.68, allocations: 3.938 kB / 476.3 MB, free: 63.85 MB / 382.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/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: 13.115467697003623]