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.001685/0.001685, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002337/0.002337, allocations: 212 kB / 24.47 MB, free: 3.547 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.427/1.427, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.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.002676/0.002676, allocations: 55.92 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2961, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005255/0.3013, allocations: 4.767 MB / 401.1 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01952/0.3208, allocations: 15.81 MB / 416.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009665/0.3218, allocations: 39.56 kB / 417 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.3241, allocations: 0.6963 MB / 417.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005799/0.3299, allocations: 1.582 MB / 419.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.3346, allocations: 1.237 MB / 420.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003373/0.338, allocations: 1.771 MB / 422.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.3383, allocations: 102.7 kB / 422.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.3388, allocations: 342.2 kB / 422.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.3392, allocations: 340.5 kB / 423 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.3393, allocations: 31.91 kB / 423 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.3424, allocations: 1.043 MB / 424.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.3425, allocations: 115.9 kB / 424.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.343, allocations: 329.5 kB / 424.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.346, allocations: 1.633 MB / 426.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.346, allocations: 3.938 kB / 426.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.346, allocations: 0 / 426.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.346, allocations: 0 / 426.2 MB, free: 5.238 MB / 334.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.002538/0.3485, allocations: 1.349 MB / 427.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3486, allocations: 11.98 kB / 427.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.234e-05/0.3487, allocations: 62.53 kB / 427.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.3488, allocations: 123.2 kB / 427.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.35, allocations: 0.7227 MB / 428.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.35, allocations: 16.48 kB / 428.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.3501, allocations: 27.94 kB / 428.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.3509, allocations: 336.8 kB / 428.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3509, allocations: 3.938 kB / 428.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.351, allocations: 8 kB / 428.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.351, allocations: 8 kB / 428.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009188/0.3519, allocations: 345.9 kB / 429.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.3541, allocations: 1.108 MB / 430.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/0.355, allocations: 246.6 kB / 430.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.3555, allocations: 222.4 kB / 430.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007561/0.363, allocations: 3.637 MB / 434.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006269/0.3637, allocations: 207.1 kB / 434.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.565e-06/0.3637, allocations: 0 / 434.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001493/0.3652, allocations: 492.6 kB / 435 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.3652, allocations: 67.23 kB / 435.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.3664, allocations: 0.8906 MB / 436 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.3665, allocations: 29.7 kB / 436 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.3669, allocations: 472.8 kB / 436.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.367, allocations: 67.47 kB / 436.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.3671, allocations: 85.59 kB / 436.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3673, allocations: 322 kB / 436.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.3677, allocations: 123.9 kB / 437.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.3682, allocations: 253.9 kB / 437.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009006/0.3691, allocations: 397.5 kB / 437.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3691, allocations: 4 kB / 437.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001142/0.3702, allocations: 0.4965 MB / 438.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3702, allocations: 8 kB / 438.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/0.3703, allocations: 20.56 kB / 438.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.3703, allocations: 8 kB / 438.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.3707, allocations: 91.8 kB / 438.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.3707, allocations: 8 kB / 438.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.3711, allocations: 55.7 kB / 438.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.3712, allocations: 24 kB / 438.4 MB, free: 8.484 MB / 350.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.0003093/0.3715, allocations: 205.7 kB / 438.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.3716, allocations: 131.1 kB / 438.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3729, allocations: 464.2 kB / 439.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3729, allocations: 4 kB / 439.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3729, allocations: 0 / 439.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3729, allocations: 3.984 kB / 439.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.3737, allocations: 0.5156 MB / 439.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/0.3737, allocations: 16 kB / 439.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3739, allocations: 51.94 kB / 439.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/0.3739, allocations: 0 / 439.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.374, allocations: 12 kB / 439.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.374, allocations: 7.938 kB / 439.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.374, allocations: 0 / 439.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.375, allocations: 455.2 kB / 440.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.3754, allocations: 127.2 kB / 440.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.3755, allocations: 4 kB / 440.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.3758, allocations: 27.95 kB / 440.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.3759, allocations: 39.88 kB / 440.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.3759, allocations: 16 kB / 440.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008885/0.3768, allocations: 0.5961 MB / 441.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3768, allocations: 0 / 441.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006775/0.3775, allocations: 223.7 kB / 441.3 MB, free: 5.523 MB / 350.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.002093/0.3796, allocations: 1.359 MB / 442.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009682/0.3805, allocations: 338.7 kB / 443 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3805, allocations: 0 / 443 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.381, allocations: 185.3 kB / 443.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.3816, allocations: 140.8 kB / 443.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/0.391, allocations: 5.826 MB / 449.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.3914, allocations: 370.4 kB / 449.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000343/0.3917, allocations: 98.06 kB / 449.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.3921, allocations: 319.3 kB / 449.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3921, allocations: 0 / 449.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/0.4524, allocations: 23.74 MB / 473.6 MB, free: 4.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.82, allocations: 4.062 kB / 473.6 MB, free: 4.738 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.330681460909545]