Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001616/0.001616, 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 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.001942/0.001942, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1139, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2585/0.3724, allocations: 5.563 MB / 431.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02407/0.3965, allocations: 19.51 MB / 451.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.3978, allocations: 35.91 kB / 451.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.4011, allocations: 0.8413 MB / 452.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008619/0.4097, allocations: 1.594 MB / 453.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007313/0.417, allocations: 1.308 MB / 455.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004552/0.4216, allocations: 1.82 MB / 457 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.422, allocations: 111.2 kB / 457.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000956/0.4229, allocations: 376.3 kB / 457.5 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.4235, allocations: 363.8 kB / 457.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.4236, allocations: 32.56 kB / 457.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006059/0.4297, allocations: 1.442 MB / 459.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.4301, allocations: 116.8 kB / 459.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008904/0.431, allocations: 434.7 kB / 459.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005732/0.4367, allocations: 1.611 MB / 461.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4367, allocations: 0 / 461.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4367, allocations: 0 / 461.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.4367, allocations: 0 / 461.4 MB, free: 6.957 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.002947/0.4397, allocations: 1.42 MB / 462.9 MB, free: 5.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4397, allocations: 10.28 kB / 462.9 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.353e-05/0.4398, allocations: 59.55 kB / 462.9 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.44, allocations: 128 kB / 463.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.4413, allocations: 0.7849 MB / 463.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.4413, allocations: 22.05 kB / 463.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.4414, allocations: 23.84 kB / 463.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.4422, allocations: 336.4 kB / 464.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4422, allocations: 1.938 kB / 464.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.4423, allocations: 9.422 kB / 464.2 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.4423, allocations: 14.47 kB / 464.2 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4433, allocations: 343 kB / 464.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.4458, allocations: 1.24 MB / 465.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/0.4467, allocations: 257.6 kB / 466.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.4473, allocations: 208.5 kB / 466.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/0.4574, allocations: 7.919 MB / 474.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.4579, allocations: 194.9 kB / 474.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/0.458, allocations: 1.406 kB / 474.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001556/0.4595, allocations: 499.8 kB / 474.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.4596, allocations: 68.08 kB / 474.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.4608, allocations: 0.884 MB / 475.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.4608, allocations: 32.14 kB / 475.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000492/0.4613, allocations: 464.9 kB / 476.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.4614, allocations: 60 kB / 476.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.4615, allocations: 90.67 kB / 476.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4617, allocations: 317.4 kB / 476.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.4621, allocations: 126.9 kB / 476.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.4626, allocations: 250.5 kB / 477.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008995/0.4635, allocations: 391.7 kB / 477.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4635, allocations: 6.531 kB / 477.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001236/0.4648, allocations: 0.4973 MB / 478 MB, free: 9.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4648, allocations: 12.59 kB / 478 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.012e-05/0.4648, allocations: 24.94 kB / 478.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4649, allocations: 5.031 kB / 478.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.4652, allocations: 88.81 kB / 478.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.4652, allocations: 11.84 kB / 478.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.4657, allocations: 61.14 kB / 478.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.4658, allocations: 22.09 kB / 478.2 MB, free: 9.797 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.0002856/0.4661, allocations: 207 kB / 478.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.4662, allocations: 119.4 kB / 478.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.4675, allocations: 464.9 kB / 479 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4675, allocations: 3.188 kB / 479 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.4675, allocations: 6.438 kB / 479 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4675, allocations: 3.938 kB / 479 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.4683, allocations: 0.5686 MB / 479.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.4683, allocations: 16.78 kB / 479.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.4686, allocations: 48.58 kB / 479.7 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.4686, allocations: 5.766 kB / 479.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.4686, allocations: 11.19 kB / 479.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.4686, allocations: 1.812 kB / 479.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4686, allocations: 3.938 kB / 479.7 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.4697, allocations: 449.9 kB / 480.1 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.47, allocations: 204 kB / 480.3 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.845e-05/0.4701, allocations: 8.125 kB / 480.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.4704, allocations: 25.72 kB / 480.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4705, allocations: 39.02 kB / 480.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.4705, allocations: 11 kB / 480.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008213/0.4714, allocations: 0.5921 MB / 481 MB, free: 7.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4714, allocations: 0 / 481 MB, free: 7.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008564/0.4722, allocations: 221.1 kB / 481.2 MB, free: 7.953 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.002308/0.4745, allocations: 1.361 MB / 482.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4756, allocations: 334.4 kB / 482.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4756, allocations: 0 / 482.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.4761, allocations: 177.4 kB / 483.1 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009965/0.4771, allocations: 171.5 kB / 483.2 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009793/0.4869, allocations: 5.821 MB / 489.1 MB, free: 188 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.4875, allocations: 0.9563 MB / 490 MB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003721/0.4879, allocations: 97.73 kB / 490.1 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000411/0.4883, allocations: 315.3 kB / 490.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4883, allocations: 0 / 490.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05847/0.5468, allocations: 22.37 MB / 0.5008 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.26, allocations: 9.234 kB / 0.5008 GB, free: 8.672 MB / 414.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable VGS.p.v from file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! Error: Could not read variable M1.D.i in file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv. Warning: Get data of variable M1.D.i from file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.748143266988336]